Fixed deleting/moving image does not update image count; inconsistent brackets

see issue 995
This commit is contained in:
Oliver Duis
2011-09-16 13:43:32 +02:00
parent 6b4bafd6f8
commit d37af496b4
2 changed files with 16 additions and 2 deletions

View File

@@ -394,6 +394,7 @@ FileBrowserEntry* FileBrowser::delEntry (const Glib::ustring& fname) {
#endif
if (j!=selected.end()) {
if (checkFilter (*j)) numFiltered--;
selected.erase (j);
notifySelectionListener ();
}