Qt: Reset the Open List on acceptance
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 24 Feb 2009 10:14:44 +0000 (11:14 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 24 Feb 2009 10:14:44 +0000 (11:14 +0100)
modules/gui/qt4/components/open_panels.cpp

index 2b6f73e..f73ac4c 100644 (file)
@@ -210,6 +210,7 @@ void FileOpenPanel::accept()
 {
     //FIXME
  //   p_intf->p_sys->psz_filepath = qtu( dialogBox->directory().absolutePath() );
 {
     //FIXME
  //   p_intf->p_sys->psz_filepath = qtu( dialogBox->directory().absolutePath() );
+    ui.fileListWidg->clear();
 }
 
 /* Function called by Open Dialog when clicked on cancel */
 }
 
 /* Function called by Open Dialog when clicked on cancel */