mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
Merge pull request #2287
b96004a
main: don't lock on inactivity if passwordDialog is visible (selsta)
This commit is contained in:
commit
39fe5478b9
1
main.qml
1
main.qml
@ -2198,6 +2198,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);
|
||||
|
Loading…
Reference in New Issue
Block a user