diff options
author | Saturneric <[email protected]> | 2021-07-01 18:07:42 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-01 18:07:42 +0000 |
commit | bf033884a652f32c207046b0f3dcdcc0d225150c (patch) | |
tree | 8c89d964c51cebc7333e6cbe829dc343425958ca /src/ui/main_window/MainWindowSlotFunction.cpp | |
parent | Merge branch 'develop-ci' (diff) | |
download | GpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.tar.gz GpgFrontend-bf033884a652f32c207046b0f3dcdcc0d225150c.zip |
Export Secret Key Fixed.
Start Wizard Modified.
Another Bugs Fixed.
Diffstat (limited to '')
-rw-r--r-- | src/ui/main_window/MainWindowSlotFunction.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp index 60c33d83..9c5d500a 100644 --- a/src/ui/main_window/MainWindowSlotFunction.cpp +++ b/src/ui/main_window/MainWindowSlotFunction.cpp @@ -25,6 +25,7 @@ #include "MainWindow.h" void MainWindow::slotEncrypt() { + if (edit->tabCount() == 0 || edit->slotCurPage() == nullptr) { return; } @@ -241,7 +242,9 @@ void MainWindow::refreshKeysFromKeyserver() { void MainWindow::uploadKeyToServer() { QVector<GpgKey> keys; keys.append(mKeyList->getSelectedKey()); - auto *dialog = new KeyUploadDialog(mCtx, keys); + auto *dialog = new KeyUploadDialog(mCtx, keys, this); + dialog->show(); + dialog->slotUpload(); } void MainWindow::slotFileEncrypt() { |