aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/key_generate/KeygenDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-02-01 12:33:01 +0000
committersaturneric <[email protected]>2024-02-01 12:33:01 +0000
commit55afb9fc2e12e4cb2567a267f72dbc045718d41f (patch)
tree1f1ef3aabbecfdb38305afe387155d607138b69a /src/ui/dialog/key_generate/KeygenDialog.cpp
parentfix: slove ci issues (diff)
downloadGpgFrontend-55afb9fc2e12e4cb2567a267f72dbc045718d41f.tar.gz
GpgFrontend-55afb9fc2e12e4cb2567a267f72dbc045718d41f.zip
fix: set use system pinentry as a default option
Diffstat (limited to 'src/ui/dialog/key_generate/KeygenDialog.cpp')
-rw-r--r--src/ui/dialog/key_generate/KeygenDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/key_generate/KeygenDialog.cpp b/src/ui/dialog/key_generate/KeygenDialog.cpp
index 50e28adf..5251d15e 100644
--- a/src/ui/dialog/key_generate/KeygenDialog.cpp
+++ b/src/ui/dialog/key_generate/KeygenDialog.cpp
@@ -141,7 +141,7 @@ void KeyGenDialog::slot_key_gen_accept() {
if (!GlobalSettingStation::GetInstance()
.GetSettings()
- .value("gnupg/use_pinentry_as_password_input_dialog", false)
+ .value("gnupg/use_pinentry_as_password_input_dialog", true)
.toBool() &&
!no_pass_phrase_check_box_->isChecked()) {
SetCacheValue("PinentryContext", "NEW_PASSPHRASE");