mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-17 09:24:28 -05:00
Drop to background on copy feature
This commit is contained in:
parent
d49e74c1f4
commit
8e248bbde6
9 changed files with 116 additions and 14 deletions
|
|
@ -106,6 +106,12 @@ void Config::upgrade()
|
|||
if (m_settings->value("AutoSaveAfterEveryChange").toBool()) {
|
||||
m_settings->setValue("AutoSaveOnExit", true);
|
||||
}
|
||||
|
||||
// Setting defaults for 'hide window on copy' behavior, keeping the user's original setting
|
||||
if (m_settings->value("HideWindowOnCopy").isNull()) {
|
||||
m_settings->setValue("HideWindowOnCopy", m_settings->value("MinimizeOnCopy").toBool());
|
||||
m_settings->setValue("MinimizeOnCopy", true);
|
||||
}
|
||||
}
|
||||
|
||||
Config::Config(const QString& fileName, QObject* parent)
|
||||
|
|
@ -177,8 +183,11 @@ void Config::init(const QString& fileName)
|
|||
m_defaults.insert("BackupBeforeSave", false);
|
||||
m_defaults.insert("UseAtomicSaves", true);
|
||||
m_defaults.insert("SearchLimitGroup", false);
|
||||
m_defaults.insert("MinimizeOnCopy", false);
|
||||
m_defaults.insert("MinimizeOnOpenUrl", false);
|
||||
m_defaults.insert("HideWindowOnCopy", false);
|
||||
m_defaults.insert("MinimizeOnCopy", true);
|
||||
m_defaults.insert("DropToBackgroundOnCopy", false);
|
||||
m_defaults.insert("UseGroupIconOnEntryCreation", false);
|
||||
m_defaults.insert("AutoTypeEntryTitleMatch", true);
|
||||
m_defaults.insert("AutoTypeEntryURLMatch", true);
|
||||
m_defaults.insert("AutoTypeDelay", 25);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue