mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-13 03:52:33 -04:00
Better handling of "Lock on Minimize" setting
* Fix #1090 - delay locking databases after minimize to allow for clipboard use, Auto-Type use, and browser integration use. * Fix #6757 - prevent setting both minimize on unlock and lock on minimize settings at the same time.
This commit is contained in:
parent
0cbfbc08f3
commit
e245701533
7 changed files with 57 additions and 12 deletions
|
@ -1326,7 +1326,7 @@ void MainWindow::changeEvent(QEvent* event)
|
|||
}
|
||||
|
||||
if (config()->get(Config::Security_LockDatabaseMinimize).toBool()) {
|
||||
m_ui->tabWidget->lockDatabases();
|
||||
m_ui->tabWidget->lockDatabasesDelayed();
|
||||
}
|
||||
} else {
|
||||
QMainWindow::changeEvent(event);
|
||||
|
@ -1674,7 +1674,7 @@ void MainWindow::hideWindow()
|
|||
}
|
||||
|
||||
if (config()->get(Config::Security_LockDatabaseMinimize).toBool()) {
|
||||
m_ui->tabWidget->lockDatabases();
|
||||
m_ui->tabWidget->lockDatabasesDelayed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue