aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-05-20 11:25:28 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-05-20 12:10:34 +0000
commitce9a05938859c9453bbb8bbc4efbbba1067c4b21 (patch)
tree4b889a1f0a04a51235af573739f4eb1fbd4754e2
parente02213262e264bb6fcfeed9c3a38198663a04bd2 (diff)
QmlDesigner: Add missing else statement to color editor
Task-number: QDS-685 Change-Id: Id941aaa19cb727e020ca1021a452aba32ba493ee Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml
index ad35898b9b..c039d984fb 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml
@@ -121,8 +121,9 @@ Column {
default:
buttonRow.initalChecked = 1
}
+ } else {
+ buttonRow.initalChecked = 1
}
-
colorEditor.color = gradientLine.currentColor
} else {
buttonRow.initalChecked = 0