Fix PrivacyScreen for MainWindow

This commit is contained in:
Joseph Donofry 2022-05-12 12:48:12 -04:00
parent 908f62159a
commit d130c96160
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -15,7 +15,7 @@ Item {
property int screenTimeout
Connections {
function onFocusChanged() {
function onActiveChanged() {
if (MainWindow.active) {
screenSaverTimer.stop();
screenSaver.state = "Invisible";
@ -26,7 +26,7 @@ Item {
}
}
target: TimelineManager
target: MainWindow
}
Timer {