Qt: Reset the Open List on acceptance
[vlc.git] / 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() );
+    ui.fileListWidg->clear();
 }
 
 /* Function called by Open Dialog when clicked on cancel */