mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
main: don't lock on inactivity if passwordDialog is visible
This commit is contained in:
parent
cfec9dde96
commit
b96004a101
1
main.qml
1
main.qml
@ -2192,6 +2192,7 @@ ApplicationWindow {
|
|||||||
function checkInUserActivity() {
|
function checkInUserActivity() {
|
||||||
if(rootItem.state !== "normal") return;
|
if(rootItem.state !== "normal") return;
|
||||||
if(!persistentSettings.lockOnUserInActivity) return;
|
if(!persistentSettings.lockOnUserInActivity) return;
|
||||||
|
if(passwordDialog.visible) return;
|
||||||
|
|
||||||
// prompt password after X seconds of inactivity
|
// prompt password after X seconds of inactivity
|
||||||
var epoch = Math.floor((new Date).getTime() / 1000);
|
var epoch = Math.floor((new Date).getTime() / 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user