Set config page before dialog is shown

This commit is contained in:
craig.p.drummond
2014-10-08 13:10:01 +00:00
committed by craig.p.drummond
parent 521da6dfaf
commit cd1e178a95

View File

@@ -1263,10 +1263,10 @@ void MainWindow::showPreferencesDialog(const QString &page)
connect(pref, SIGNAL(settingsSaved()), this, SLOT(updateSettings()));
connect(pref, SIGNAL(destroyed()), SLOT(controlConnectionsMenu()));
connect(this, SIGNAL(showPreferencesPage(QString)), pref, SLOT(showPage(QString)));
pref->show();
if (!page.isEmpty()) {
pref->showPage(page);
}
pref->show();
}
void MainWindow::quit()