summaryrefslogtreecommitdiffstats
path: root/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dialog.cpp')
-rw-r--r--dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dialog.cpp b/dialog.cpp
index 4b7de9a7..721840ed 100644
--- a/dialog.cpp
+++ b/dialog.cpp
@@ -510,7 +510,9 @@ void Dialog::wizard()
//qDebug() << names;
if (QFile(gpg).exists() && names.empty()) {
KeygenDialog d(this);
- d.exec();
+ if (!d.exec()) {
+ return;
+ }
}
QString passStore = ui->storePath->text();