Fixed: Restore last selected profile

This commit is contained in:
kervala 2016-10-27 16:47:44 +02:00
parent 4eb0ae6554
commit 6a5ad54d37

View file

@ -91,6 +91,7 @@ void CMainWindow::closeEvent(QCloseEvent *e)
void CMainWindow::updateProfiles()
{
profilesComboBox->setModel(new CProfilesModel(this));
profilesComboBox->setCurrentIndex(CConfigFile::getInstance()->getDefaultProfileIndex());
}
void CMainWindow::updateButtons()