From ecd73365728f03123cb2b412ae11d49610b4a12f Mon Sep 17 00:00:00 2001 From: ubbo Date: Sun, 15 Jan 2012 22:09:03 +0000 Subject: reopen wizard on specified page after restart git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@743 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mainwindow.cpp') diff --git a/mainwindow.cpp b/mainwindow.cpp index 1813bdc..5449246 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -75,7 +75,8 @@ MainWindow::MainWindow() // Show wizard, if the don't show wizard message box wasn't checked // and keylist doesn't contain a private key QSettings settings; - if (settings.value("wizard/showWizard",true).toBool() && !mKeyList->containsPrivateKeys()) { + //if (settings.value("wizard/showWizard",true).toBool() && !mKeyList->containsPrivateKeys()) { + if (settings.value("wizard/showWizard",true).toBool() || !settings.value("wizard/next").isNull()) { startWizard(); } } -- cgit v1.2.3