From cd1e178a95f05da3998f30c5b2e71cf2c30c024f Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Wed, 8 Oct 2014 13:10:01 +0000 Subject: [PATCH] Set config page before dialog is shown --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index a0f6fcce7..a750bef01 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -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()