1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Add missing variable from selected monitors

This commit is contained in:
kelteseth 2018-03-12 16:22:41 +01:00
parent 9ce29e80a6
commit eb8a29419c

View File

@ -9,6 +9,10 @@ Item {
focus: true
height: isHeadline ? 50 : 30
width: 300
property int selectedMonitor
anchors {
left: parent.left
leftMargin: isHeadline ? 0 : 25
@ -28,7 +32,7 @@ Item {
}
}
Rectangle {
Item {
height: parent.height
visible: !isHeadline
anchors {
@ -47,7 +51,7 @@ Item {
renderType: Text.NativeRendering
// We need to convert to a string because of large numbers js uses scientific notation x*e^x
text: value.toString()
Keys.onReturnPressed: screenPlay.setWallpaperValue(0,txtDescription.text,teValue.text)
Keys.onReturnPressed: screenPlay.setWallpaperValue(selectedMonitor,txtDescription.text,teValue.text)
}
}