1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Add close when all wallpapers are closed

This commit is contained in:
kelteseth 2018-03-14 14:29:12 +01:00
parent f6e8875cd3
commit 900a07a701

View File

@ -87,7 +87,11 @@ Item {
text: qsTr("Remove all wallpaper")
Material.background: Material.Orange
Material.foreground: "white"
onClicked: screenPlay.removeAllWallpaper()
onClicked: {
screenPlay.removeAllWallpaper()
monitors.state = "inactive"
}
anchors {
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
@ -132,7 +136,6 @@ Item {
}
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AlwaysOn
snapMode: ScrollBar.SnapOnRelease
}
}