aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/GnuPGControllerDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-08-05 16:52:47 +0000
committersaturneric <[email protected]>2024-08-05 16:52:47 +0000
commit52be475e9676bbd9dbf2419d31426f8000afbe11 (patch)
tree69c0ed56695d74a44fdaa867f2a2c1bb30ceff38 /src/ui/dialog/controller/GnuPGControllerDialog.cpp
parentfix: filling in missing translations (diff)
downloadGpgFrontend-52be475e9676bbd9dbf2419d31426f8000afbe11.tar.gz
GpgFrontend-52be475e9676bbd9dbf2419d31426f8000afbe11.zip
fix: unchecking some check boxes at gnupg controller will not restart
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.cpp')
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.cpp b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
index 4cdc4864..859c26aa 100644
--- a/src/ui/dialog/controller/GnuPGControllerDialog.cpp
+++ b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
@@ -149,6 +149,18 @@ GnuPGControllerDialog::GnuPGControllerDialog(QWidget* parent)
this->slot_set_restart_needed(kDeepRestartCode);
});
+ connect(ui_->keyDatabaseUseCustomCheckBox, &QCheckBox::stateChanged, this,
+ [=](int) {
+ // announce the restart
+ this->slot_set_restart_needed(kDeepRestartCode);
+ });
+
+ connect(ui_->useCustomGnuPGInstallPathCheckBox, &QCheckBox::stateChanged,
+ this, [=](int) {
+ // announce the restart
+ this->slot_set_restart_needed(kDeepRestartCode);
+ });
+
#if defined(__APPLE__) && defined(__MACH__)
// macOS style settings
ui_->buttonBox->setDisabled(true);