Commit 6635deda authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/dialogs.cpp: fixed open directory dialog.

parent 7d1b2b14
...@@ -150,6 +150,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent ) ...@@ -150,6 +150,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent )
p_file_generic_dialog = NULL; p_file_generic_dialog = NULL;
p_wizard_dialog = NULL; p_wizard_dialog = NULL;
p_bookmarks_dialog = NULL; p_bookmarks_dialog = NULL;
p_dir_dialog = NULL;
/* Give our interface a nice little icon */ /* Give our interface a nice little icon */
p_intf->p_sys->p_icon = new wxIcon( vlc_xpm ); p_intf->p_sys->p_icon = new wxIcon( vlc_xpm );
...@@ -424,7 +425,6 @@ void DialogsProvider::OnOpenDirectory( wxCommandEvent& event ) ...@@ -424,7 +425,6 @@ void DialogsProvider::OnOpenDirectory( wxCommandEvent& event )
if( p_dir_dialog && p_dir_dialog->ShowModal() == wxID_OK ) if( p_dir_dialog && p_dir_dialog->ShowModal() == wxID_OK )
{ {
playlist_item_t *p_item;
wxString path = p_dir_dialog->GetPath(); wxString path = p_dir_dialog->GetPath();
playlist_Add( p_playlist, (const char *)path.mb_str(), playlist_Add( p_playlist, (const char *)path.mb_str(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment