Merged code missed in RTGUI

This commit is contained in:
Oliver Duis
2011-04-07 17:43:36 +02:00
parent d1ad6a85df
commit cf6059a243
5 changed files with 58 additions and 10 deletions

View File

@@ -309,14 +309,18 @@ void FileBrowser::close () {
Glib::Mutex::Lock lock(entryMutex);
#endif
selected.clear ();
notifySelectionListener ();
// The listener merges parameters with old values, so delete afterwards
for (int i=0; i<fd.size(); i++)
{
delete fd[i];
}
fd.clear ();
selected.clear ();
}
notifySelectionListener ();
lastClicked = NULL;
}