From e61351d98966bd825bc8412fc3b39ab2ad23228d Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 24 Oct 2024 17:20:06 +0300 Subject: [PATCH] QmlDesigner: Add float as supported type for "real" editor This will make float type custom properties show up in property editor. Fixes: QDS-13751 Change-Id: I2ff4ce8e2df64b6ce02b2a921fe0f3c60dd16412 Reviewed-by: Mahmoud Badri --- .../PropertyTemplates/TemplateTypes.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml index 03e42a974fe..e1cd20c9c91 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml @@ -13,7 +13,7 @@ AutoTypes { sourceFile: "IntEditorTemplate.template" } Type { - typeNames: ["real", "double", "qreal"] + typeNames: ["real", "double", "qreal", "float"] module: "QML" sourceFile: "RealEditorTemplate.template" }