aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowSlotUI.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-28 16:19:46 +0000
committersaturneric <[email protected]>2024-11-28 16:19:46 +0000
commit564b8099189b20b9cf2fa78bfa2620d42f514b72 (patch)
treed35bd61198618ce6897ae4565a8470597e896983 /src/ui/main_window/MainWindowSlotUI.cpp
parentfeat: support encrypting email (diff)
downloadGpgFrontend-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.cpp11
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();
}