aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-15 22:09:03 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-15 22:09:03 +0000
commitecd73365728f03123cb2b412ae11d49610b4a12f (patch)
treef5e52465f5e09bb6790f89c30e2930db8c32afbd /mainwindow.cpp
parentrestart app after loading old qgq4usb config (diff)
downloadgpg4usb-ecd73365728f03123cb2b412ae11d49610b4a12f.tar.gz
gpg4usb-ecd73365728f03123cb2b412ae11d49610b4a12f.zip
reopen wizard on specified page after restart
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@743 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
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();
}
}