r24092 by jghali - #16262: Recover files: close the dialog if after recover / delete there is no more file in the list <ale>
scribus-commit
scribus-commit at lists.scribus.net
Fri Oct 23 14:43:32 UTC 2020
Author: jghali
Date: Fri Oct 23 14:43:32 2020
New Revision: 24092
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24092
Log:
#16262: Recover files: close the dialog if after recover / delete there is no more file in the list <ale>
Modified:
trunk/Scribus/scribus/ui/recoverdialog.cpp
Modified: trunk/Scribus/scribus/ui/recoverdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24092&path=/trunk/Scribus/scribus/ui/recoverdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/recoverdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/recoverdialog.cpp Fri Oct 23 14:43:32 2020
@@ -121,7 +121,10 @@
{
m_files.removeAll(filesToRemove[a]);
}
- updateFilesTable();
+ if (filesList->rowCount() == filesToRemove.count())
+ accept();
+ else
+ updateFilesTable();
}
void RecoverDialog::updateFilesTable()
More information about the scribus-commit
mailing list