From 4050ae65458d11d40741816df02faa0caf6659e5 Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 19 Jan 2012 00:24:54 +0000 Subject: start wizard at import from gnupg page after restart after conf import from old gpg4usb git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@759 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- TODO | 1 + wizard.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 60b52d8..83822a6 100644 --- a/TODO +++ b/TODO @@ -29,6 +29,7 @@ Release 0.3.2 - only show one import detail dialog, when importing public/private keys - always activate next button - nextid is not called when clicking finish button + - add page for succesful import of settings from old gpg4usb (?) - BUG: cancel decryption on windows hangs programm -> possibly bug in gpgme [DONE] - option in settingsdialog for enabling steganographic operations [DONE] - minimal steganography option: remove or add pgp-headers on demand [DONE] diff --git a/wizard.cpp b/wizard.cpp index 3ef5808..557902c 100644 --- a/wizard.cpp +++ b/wizard.cpp @@ -45,8 +45,8 @@ Wizard::Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent) setPixmap(QWizard::BannerPixmap, QPixmap(":/banner.png")); QSettings settings; - setStartId(settings.value("wizard/page", -1).toInt()); - settings.remove("wizard/page"); + setStartId(settings.value("wizard/nextPage", -1).toInt()); + settings.remove("wizard/nextPage"); connect(this, SIGNAL(accepted()), this, SLOT(wizardAccepted())); -- cgit v1.2.3