diff options
author | saturneric <[email protected]> | 2024-11-28 16:19:46 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-28 16:19:46 +0000 |
commit | 564b8099189b20b9cf2fa78bfa2620d42f514b72 (patch) | |
tree | d35bd61198618ce6897ae4565a8470597e896983 /src/ui/main_window/MainWindowSlotUI.cpp | |
parent | feat: support encrypting email (diff) | |
download | GpgFrontend-564b8099189b20b9cf2fa78bfa2620d42f514b72.tar.gz GpgFrontend-564b8099189b20b9cf2fa78bfa2620d42f514b72.zip |
feat: support decrypt & verify email
Diffstat (limited to 'src/ui/main_window/MainWindowSlotUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowSlotUI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/main_window/MainWindowSlotUI.cpp b/src/ui/main_window/MainWindowSlotUI.cpp index 576700bc..53fa29a4 100644 --- a/src/ui/main_window/MainWindowSlotUI.cpp +++ b/src/ui/main_window/MainWindowSlotUI.cpp @@ -301,6 +301,12 @@ void MainWindow::SlotGeneralEncryptSign(bool) { this->SlotDirectoryEncryptSign(path); } } + + if (edit_->CurEMailPage() != nullptr) { + this->SlotEncryptSignEML(); + return; + } + if (edit_->SlotCurPageTextEdit() != nullptr) { this->SlotEncryptSign(); } @@ -323,6 +329,11 @@ void MainWindow::SlotGeneralDecryptVerify(bool) { } } + if (edit_->CurEMailPage() != nullptr) { + this->SlotDecryptVerifyEML(); + return; + } + if (edit_->SlotCurPageTextEdit() != nullptr) { this->SlotDecryptVerify(); } |