From b66155cf179dcdbf86c6379d6c9eed1446b47fa3 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 28 Aug 2014 10:59:52 +0200 Subject: [PATCH] QmlDesigner.PropertyEditor: Change default editor for color This template breaks the layout and is currently unusable. Therefore we replace it by a string editor. Change-Id: I0818d006a4516f34954d5406ee4074664e909891 Reviewed-by: Tim Jenssen --- .../PropertyTemplates/TemplateTypes.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml index a4a404bedf5..4a0d740df05 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml @@ -22,8 +22,9 @@ AutoTypes { typeNames: ["bool", "boolean"] sourceFile: "BooleanEditorTemplate.template" } + Type { typeNames: ["color", "QColor"] - sourceFile: "ColorEditorTemplate.template" + sourceFile: "StringEditorTemplate.template" } }