From 719ff7047b09264a5a0a42335cd31ba94f0c733a Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 9 Feb 2017 10:53:17 +0100 Subject: [PATCH] QmlDesigner: Allow property name "type" There is no reason to not allow "type". This was a leftover we store the type/className in "className". Change-Id: I6a760e9df522fcda42fc2d18c06aaaac15523cd6 Reviewed-by: Tim Jenssen --- .../components/propertyeditor/propertyeditorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index 97020ed4cdd..0e7174b9e5a 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -138,7 +138,7 @@ void PropertyEditorView::changeValue(const QString &name) if (m_locked) return; - if (propertyName == "type") + if (propertyName == "className") return; if (!m_selectedNode.isValid())