Add checkbox to allow minimize after database unlock.
Default option is set to off
This commit is contained in:
committed by
Jonathan White
parent
018e9f30be
commit
0a3b19edf2
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user