mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-19 17:01:45 +02:00
Fix Checkbox and Colorpicker in Monitor Settings
This commit is contained in:
parent
0ebcf43e56
commit
863edbd77b
@ -85,9 +85,9 @@ Rectangle {
|
|||||||
right: parent.right
|
right: parent.right
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
ScreenPlay.screenPlayManager.setWallpaperValue(
|
ScreenPlay.screenPlayManager.setWallpaperValue(
|
||||||
selectedMonitor, name, value)
|
selectedMonitor, name, checkbox.checked)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -129,8 +129,9 @@ Rectangle {
|
|||||||
title: qsTr("Please choose a color")
|
title: qsTr("Please choose a color")
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
rctPreviewColor.color = colorDialog.color
|
rctPreviewColor.color = colorDialog.color
|
||||||
|
let tmpColor = "'" + colorDialog.color.toString() + "'"
|
||||||
ScreenPlay.screenPlayManager.setWallpaperValue(
|
ScreenPlay.screenPlayManager.setWallpaperValue(
|
||||||
selectedMonitor, name, colorDialog.color)
|
selectedMonitor, name, tmpColor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user