1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-05 10:32:28 +01:00

Change wallpaper selection to always select the first monitor

This commit is contained in:
Elias Steurer 2020-06-21 13:34:44 +02:00
parent 4f2854ba5a
commit a83d1fc491
2 changed files with 3 additions and 2 deletions

View File

@ -376,7 +376,7 @@ Item {
}
root.state = "inactive"
monitorSelection.deselectAll()
monitorSelection.reset()
}
}
}

View File

@ -48,10 +48,11 @@ Rectangle {
}
}
function deselectAll() {
function reset() {
for (var i = 0; i < rp.count; i++) {
rp.itemAt(i).isSelected = false
}
rp.itemAt(0).isSelected = true
getActiveMonitors()
}