Fixed: Restore last selected profile
This commit is contained in:
parent
8a6a8765ac
commit
4e68b3c40a
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ void CMainWindow::closeEvent(QCloseEvent *e)
|
||||||
void CMainWindow::updateProfiles()
|
void CMainWindow::updateProfiles()
|
||||||
{
|
{
|
||||||
profilesComboBox->setModel(new CProfilesModel(this));
|
profilesComboBox->setModel(new CProfilesModel(this));
|
||||||
|
profilesComboBox->setCurrentIndex(CConfigFile::getInstance()->getDefaultProfileIndex());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMainWindow::updateButtons()
|
void CMainWindow::updateButtons()
|
||||||
|
|
Loading…
Reference in a new issue