Fixed issue where the view mode from the stored settings was not reflected on startup
FossilOrigin-Name: b04aa4a2a385325b9b50e4ce700a364b05c7b70b
This commit is contained in:
@ -1135,7 +1135,10 @@ void MainWindow::loadSettings()
|
||||
if(qsettings.contains("ViewIgnored"))
|
||||
ui->actionViewIgnored->setChecked(qsettings.value("ViewIgnored").toBool());
|
||||
if(qsettings.contains("ViewAsList"))
|
||||
{
|
||||
ui->actionViewAsList->setChecked(qsettings.value("ViewAsList").toBool());
|
||||
ui->treeView->setVisible(qsettings.value("ViewAsList").toBool() == VIEWMODE_LIST);
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user