Skip to content

Commit 52be475

Browse files
committed
fix: unchecking some check boxes at gnupg controller will not restart
1 parent 72030d9 commit 52be475

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/ui/dialog/controller/GnuPGControllerDialog.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,18 @@ GnuPGControllerDialog::GnuPGControllerDialog(QWidget* parent)
149149
this->slot_set_restart_needed(kDeepRestartCode);
150150
});
151151

152+
connect(ui_->keyDatabaseUseCustomCheckBox, &QCheckBox::stateChanged, this,
153+
[=](int) {
154+
// announce the restart
155+
this->slot_set_restart_needed(kDeepRestartCode);
156+
});
157+
158+
connect(ui_->useCustomGnuPGInstallPathCheckBox, &QCheckBox::stateChanged,
159+
this, [=](int) {
160+
// announce the restart
161+
this->slot_set_restart_needed(kDeepRestartCode);
162+
});
163+
152164
#if defined(__APPLE__) && defined(__MACH__)
153165
// macOS style settings
154166
ui_->buttonBox->setDisabled(true);

0 commit comments

Comments
 (0)