1
mirror of https://github.com/monero-project/monero-gui synced 2025-02-17 12:01:26 +01:00

main: don't lock on inactivity if passwordDialog is visible

This commit is contained in:
selsta 2019-07-16 14:17:22 +02:00
parent cfec9dde96
commit b96004a101
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -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);