Show last selected listing in backup manager.
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
@@ -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