Fixed: Restore last selected profile

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-27 16:47:44 +02:00
parent 6d2c530210
commit 1362e2d470

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()