Show last selected listing in backup manager.
This commit is contained in:
1 parent
2b26fb239c
commit
7bc54d3533
2 files changed
+5
-1
No files matched your search
@@ -91,6 +91,10 @@ void BackupManagerForm::loadBackupListing(int index)
|
||||
bool sys_dir;
|
||||
int img_width;
|
||||
|
||||
if(index < 0) {
|
||||
index = ui->backupComboBox->currentIndex();
|
||||
}
|
||||
|
||||
ui->tableWidget->clear();
|
||||
|
||||
switch(index) {
|
||||
|
||||
+1
-1
@@ -126,7 +126,7 @@ void MainWidget::setTrayTooltip(QString message)
|
||||
|
||||
void MainWidget::openManager()
|
||||
{
|
||||
form.loadBackupListing(0);
|
||||
form.loadBackupListing(-1);
|
||||
form.show();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user