Fixed deleting/moving image does not update image count; inconsistent brackets
see issue 995
This commit is contained in:
@@ -394,6 +394,7 @@ FileBrowserEntry* FileBrowser::delEntry (const Glib::ustring& fname) {
|
||||
#endif
|
||||
|
||||
if (j!=selected.end()) {
|
||||
if (checkFilter (*j)) numFiltered--;
|
||||
selected.erase (j);
|
||||
notifySelectionListener ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user