Skip to content

Commit 264eff9

Browse files
authored
Merge pull request #130 from saturneric/dev/2.1.1/main
Develop 2.1.2.5
2 parents d5e6fdb + 55afb9f commit 264eff9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/core/GpgCoreInit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ void InitGpgFrontendCore(CoreInitArgs args) {
319319
.toString();
320320

321321
auto use_pinentry_as_password_input_dialog =
322-
settings.value("gnupg/use_pinentry_as_password_input_dialog", false)
322+
settings.value("gnupg/use_pinentry_as_password_input_dialog", true)
323323
.toBool();
324324

325325
GF_CORE_LOG_DEBUG("core loaded if use custom key databse path: {}",

src/ui/dialog/gnupg/GnuPGControllerDialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void GnuPGControllerDialog::set_settings() {
296296
}
297297

298298
bool const use_pinentry_as_password_input_dialog =
299-
settings.value("gnupg/use_pinentry_as_password_input_dialog", false)
299+
settings.value("gnupg/use_pinentry_as_password_input_dialog", true)
300300
.toBool();
301301
if (use_pinentry_as_password_input_dialog) {
302302
ui_->usePinentryAsPasswordInputDialogCheckBox->setCheckState(Qt::Checked);

src/ui/dialog/key_generate/KeygenDialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void KeyGenDialog::slot_key_gen_accept() {
141141

142142
if (!GlobalSettingStation::GetInstance()
143143
.GetSettings()
144-
.value("gnupg/use_pinentry_as_password_input_dialog", false)
144+
.value("gnupg/use_pinentry_as_password_input_dialog", true)
145145
.toBool() &&
146146
!no_pass_phrase_check_box_->isChecked()) {
147147
SetCacheValue("PinentryContext", "NEW_PASSPHRASE");

0 commit comments

Comments
 (0)