Moved "Lock databases on screen lock" setting to security settings

widget.
Changed wording and preference variable name for conformity with
existing settings.
This commit is contained in:
Claudio Bantaloukas 2017-01-01 14:08:14 +01:00 committed by thez3ro
parent 44085df592
commit d1acd75068
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
3 changed files with 10 additions and 3 deletions

View file

@ -965,7 +965,7 @@ void MainWindow::hideYubiKeyPopup()
void MainWindow::handleScreenLock()
{
if (config()->get("AutoCloseOnScreenLock").toBool()){
if (config()->get("security/lockdatabasescreenlock").toBool()){
lockDatabasesAfterInactivity();
}
}