diff options
author | saturneric <[email protected]> | 2024-08-05 16:55:32 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-08-05 16:55:32 +0000 |
commit | 795a81bd1edad59ef51e73157b5ad68cfa30e328 (patch) | |
tree | fd9c4da2f1389f0a236d806e005cabb9f5ceab41 /src/ui/dialog/controller/GnuPGControllerDialog.cpp | |
parent | fix: build pipeline (diff) | |
parent | fix: unchecking some check boxes at gnupg controller will not restart (diff) | |
download | GpgFrontend-795a81bd1edad59ef51e73157b5ad68cfa30e328.tar.gz GpgFrontend-795a81bd1edad59ef51e73157b5ad68cfa30e328.zip |
fix: according to issues and test, apply some fixesv2.1.4
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.cpp')
-rw-r--r-- | src/ui/dialog/controller/GnuPGControllerDialog.cpp | 12 |
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); |