diff options
author | Saturneric <[email protected]> | 2023-03-30 17:17:07 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-03-30 17:17:07 +0000 |
commit | 19c787b426e9a8c22f481223a93af163f6ef15ac (patch) | |
tree | 609dc18c84c31182749e50d5db56d678b0aab808 /src/ui/dialog/settings/SettingsGeneral.cpp | |
parent | fix: improve ui of about menu (diff) | |
download | GpgFrontend-19c787b426e9a8c22f481223a93af163f6ef15ac.tar.gz GpgFrontend-19c787b426e9a8c22f481223a93af163f6ef15ac.zip |
fix: correct ui representation
Diffstat (limited to 'src/ui/dialog/settings/SettingsGeneral.cpp')
-rw-r--r-- | src/ui/dialog/settings/SettingsGeneral.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/dialog/settings/SettingsGeneral.cpp b/src/ui/dialog/settings/SettingsGeneral.cpp index 623dae79..17d9251c 100644 --- a/src/ui/dialog/settings/SettingsGeneral.cpp +++ b/src/ui/dialog/settings/SettingsGeneral.cpp @@ -47,7 +47,7 @@ GeneralTab::GeneralTab(QWidget* parent) ui_->saveCheckedKeysCheckBox->setText( _("Save checked private keys on exit and restore them on next start.")); ui_->clearGpgPasswordCacheCheckBox->setText( - "Clear gpg password cache when closing GpgFrontend."); + _("Clear gpg password cache when closing GpgFrontend.")); ui_->importConfirmationBox->setTitle(_("Operation")); ui_->longerKeyExpirationDateCheckBox->setText( @@ -169,6 +169,12 @@ GeneralTab::GeneralTab(QWidget* parent) } }); + connect(ui_->usePinentryAsPasswordInputDialogCheckBox, + &QCheckBox::stateChanged, this, [=](int state) { + // announce the restart + this->slot_gnupg_stettings_changed(); + }); + SetSettings(); } |