1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-09 12:32:40 +01:00

Fix Checkbox and Colorpicker in Monitor Settings

This commit is contained in:
Dominik Louven 2020-03-13 17:53:00 +01:00
parent 0ebcf43e56
commit 863edbd77b

View File

@ -87,7 +87,7 @@ Rectangle {
}
onCheckedChanged: {
ScreenPlay.screenPlayManager.setWallpaperValue(
selectedMonitor, name, value)
selectedMonitor, name, checkbox.checked)
}
}
}
@ -129,8 +129,9 @@ Rectangle {
title: qsTr("Please choose a color")
onAccepted: {
rctPreviewColor.color = colorDialog.color
let tmpColor = "'" + colorDialog.color.toString() + "'"
ScreenPlay.screenPlayManager.setWallpaperValue(
selectedMonitor, name, colorDialog.color)
selectedMonitor, name, tmpColor)
}
}
}