Show last selected listing in backup manager.
This commit is contained in:
@@ -91,6 +91,10 @@ void BackupManagerForm::loadBackupListing(int index)
|
|||||||
bool sys_dir;
|
bool sys_dir;
|
||||||
int img_width;
|
int img_width;
|
||||||
|
|
||||||
|
if(index < 0) {
|
||||||
|
index = ui->backupComboBox->currentIndex();
|
||||||
|
}
|
||||||
|
|
||||||
ui->tableWidget->clear();
|
ui->tableWidget->clear();
|
||||||
|
|
||||||
switch(index) {
|
switch(index) {
|
||||||
|
@@ -126,7 +126,7 @@ void MainWidget::setTrayTooltip(QString message)
|
|||||||
|
|
||||||
void MainWidget::openManager()
|
void MainWidget::openManager()
|
||||||
{
|
{
|
||||||
form.loadBackupListing(0);
|
form.loadBackupListing(-1);
|
||||||
form.show();
|
form.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user