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 <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2017-02-09 10:53:17 +01:00
committed by Tim Jenssen
parent 95e6dfe8e0
commit 719ff7047b

View File

@@ -138,7 +138,7 @@ void PropertyEditorView::changeValue(const QString &name)
if (m_locked) if (m_locked)
return; return;
if (propertyName == "type") if (propertyName == "className")
return; return;
if (!m_selectedNode.isValid()) if (!m_selectedNode.isValid())