Skip to content

Commit 69909ff

Browse files
committed
ValueMonitor: Fix value color when model is null
1 parent 7942110 commit 69909ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/ValueMonitor.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Rectangle {
6161
Layout.minimumWidth: 40
6262

6363
Rectangle {
64-
color: model.color
64+
color: model ? model.color : "green"
6565
radius: 5
6666
anchors.fill: parent
6767
anchors.margins: 0

0 commit comments

Comments
 (0)