Fixed: Restore last selected profile

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 6d2c530210
commit 1362e2d470

@ -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…
Cancel
Save