aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizard.cpp')
-rw-r--r--wizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/wizard.cpp b/wizard.cpp
index bc163f6..433a201 100644
--- a/wizard.cpp
+++ b/wizard.cpp
@@ -55,7 +55,8 @@ Wizard::Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent)
void Wizard::wizardAccepted() {
qDebug() << "noShow: " << field("showWizard").toBool();
QSettings settings;
- settings.setValue("wizard/showWizard", field("showWizard").toBool());
+ // Don't show is mapped to show -> negation
+ settings.setValue("wizard/showWizard", !field("showWizard").toBool());
}
IntroPage::IntroPage(QWidget *parent)