Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Linus Schulz <fredericschulz@gmx.de>2019-08-12 20:31:37 +0300
committerJonathan White <support@dmapps.us>2019-09-03 04:53:16 +0300
commit0a3b19edf230264a28010f1783b37d43ae9608c3 (patch)
tree1b2dee2ff17ee535630965a37d3df7699d854967 /src/gui/DatabaseWidget.cpp
parent018e9f30be5b46755a64552a30cfbb29e2ae8c1b (diff)
Add checkbox to allow minimize after database unlock.
Default option is set to off
Diffstat (limited to 'src/gui/DatabaseWidget.cpp')
-rw-r--r--src/gui/DatabaseWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp
index d695ae2cd..b5698aafc 100644
--- a/src/gui/DatabaseWidget.cpp
+++ b/src/gui/DatabaseWidget.cpp
@@ -911,6 +911,9 @@ void DatabaseWidget::loadDatabase(bool accepted)
m_fileWatcher->restart();
m_saveAttempts = 0;
emit databaseUnlocked();
+ if (config()->get("MinimizeAfterUnlock").toBool()) {
+ window()->showMinimized();
+ }
} else {
m_fileWatcher->stop();
if (m_databaseOpenWidget->database()) {