forked from qt-creator/qt-creator
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:
committed by
Tim Jenssen
parent
95e6dfe8e0
commit
719ff7047b
@@ -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())
|
||||
|
Reference in New Issue
Block a user