diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 00:47:19 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 00:47:19 +0000 |
commit | 0a65bb3d7c9e8d197a22a6df662af6a222512175 (patch) | |
tree | d3797518f778cdcfe1cc6942e627381d45e9cedb | |
parent | start wizard at import from gnupg page after restart after conf import from o... (diff) | |
download | gpg4usb-0a65bb3d7c9e8d197a22a6df662af6a222512175.tar.gz gpg4usb-0a65bb3d7c9e8d197a22a6df662af6a222512175.zip |
only restart app, when gpg4usb config import is checked in wizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@760 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | wizard.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -168,11 +168,13 @@ bool ImportFromGpg4usbPage::importKeysFromGpg4usb() return false; } - QSettings settings; - settings.setValue("wizard/nextPage", this->nextId()); + if (gpg4usbConfigCheckBox->isChecked()) { + QSettings settings; + settings.setValue("wizard/nextPage", this->nextId()); - // TODO: edit->maybesave? - qApp->exit(RESTART_CODE); + // TODO: edit->maybesave? + qApp->exit(RESTART_CODE); + } return true; } |