]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwindows/open.cpp
Re-enable logging
[vlc] / modules / gui / wxwindows / open.cpp
index 4f9b7e14514ae7133e76522485a074ef32dc82a5..425aad6fec46e94c95584cbf1bcb0f19af95730b 100644 (file)
@@ -1050,8 +1050,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
 
         if( b_start )
         {
-            int i_pos = playlist_GetPositionById( p_playlist , i_id );
-            playlist_Command( p_playlist, PLAYLIST_GOTO, i_pos );
+            playlist_Control( p_playlist, PLAYLIST_ITEMPLAY , p_item );
         }
     }