Fixed: Restore last selected profile

This commit is contained in:
kervala 2016-10-27 16:47:44 +02:00
parent 8a6a8765ac
commit 4e68b3c40a

View file

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