From b96004a101d45dc30114afb1c50bcfbc58c18454 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 16 Jul 2019 14:17:22 +0200 Subject: [PATCH] main: don't lock on inactivity if passwordDialog is visible --- main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/main.qml b/main.qml index 1655456c..5176afb3 100644 --- a/main.qml +++ b/main.qml @@ -2192,6 +2192,7 @@ ApplicationWindow { function checkInUserActivity() { if(rootItem.state !== "normal") return; if(!persistentSettings.lockOnUserInActivity) return; + if(passwordDialog.visible) return; // prompt password after X seconds of inactivity var epoch = Math.floor((new Date).getTime() / 1000);