mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 03:16:42 -05:00
Introduce security option to enable copy on doubleclick (#6433)
* Fix #1575 - option is disabled by default
This commit is contained in:
parent
5c709f0da3
commit
7b7f52c8af
7 changed files with 30 additions and 2 deletions
|
|
@ -286,6 +286,8 @@ void ApplicationSettingsWidget::loadSettings()
|
|||
m_secUi->hideNotesCheckBox->setChecked(config()->get(Config::Security_HideNotes).toBool());
|
||||
m_secUi->NoConfirmMoveEntryToRecycleBinCheckBox->setChecked(
|
||||
config()->get(Config::Security_NoConfirmMoveEntryToRecycleBin).toBool());
|
||||
m_secUi->EnableCopyOnDoubleClickCheckBox->setChecked(
|
||||
config()->get(Config::Security_EnableCopyOnDoubleClick).toBool());
|
||||
|
||||
m_secUi->touchIDResetCheckBox->setChecked(config()->get(Config::Security_ResetTouchId).toBool());
|
||||
m_secUi->touchIDResetSpinBox->setValue(config()->get(Config::Security_ResetTouchIdTimeout).toInt());
|
||||
|
|
@ -387,6 +389,7 @@ void ApplicationSettingsWidget::saveSettings()
|
|||
config()->set(Config::Security_HideNotes, m_secUi->hideNotesCheckBox->isChecked());
|
||||
config()->set(Config::Security_NoConfirmMoveEntryToRecycleBin,
|
||||
m_secUi->NoConfirmMoveEntryToRecycleBinCheckBox->isChecked());
|
||||
config()->set(Config::Security_EnableCopyOnDoubleClick, m_secUi->EnableCopyOnDoubleClickCheckBox->isChecked());
|
||||
|
||||
config()->set(Config::Security_ResetTouchId, m_secUi->touchIDResetCheckBox->isChecked());
|
||||
config()->set(Config::Security_ResetTouchIdTimeout, m_secUi->touchIDResetSpinBox->value());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue