Set backup usage to zero if no items are found.
This commit is contained in:
@@ -154,6 +154,7 @@ void BackupManagerForm::loadBackupListing(int index)
|
|||||||
|
|
||||||
// exit if there aren't any items
|
// exit if there aren't any items
|
||||||
if(row_count == 0) {
|
if(row_count == 0) {
|
||||||
|
setBackupUsage(0);
|
||||||
db->mutex.unlock();
|
db->mutex.unlock();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user