From bcaaf8133b0a72a30707497de705bfbb2c4029bf Mon Sep 17 00:00:00 2001 From: chris2511 Date: Sun, 13 Jul 2003 19:26:17 +0000 Subject: [PATCH] solve bug: [ 770120 ] Attempting to export private key results in no file exported --- view/KeyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/KeyView.cpp b/view/KeyView.cpp index 9ada6503..1d468b96 100644 --- a/view/KeyView.cpp +++ b/view/KeyView.cpp @@ -235,7 +235,7 @@ void KeyView::store() targetKey->isPubKey(), MainWindow::getPath(), this); dlg->image->setPixmap(*MainWindow::keyImg); - if (dlg->exec()) { + if (!dlg->exec()) { delete dlg; return; }