Commit 48dee2d5 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: disable property editor for multiple selection

parent ec01f530
......@@ -385,12 +385,9 @@ void PropertyEditor::selectedNodesChanged(const QList<ModelNode> &selectedNodeLi
{
Q_UNUSED(lastSelectedNodeList);
if (m_selectedNode.isValid() && selectedNodeList.contains(m_selectedNode))
return;
if (selectedNodeList.isEmpty())
if (selectedNodeList.isEmpty() || selectedNodeList.count() > 1)
select(ModelNode());
else
else if (m_selectedNode != selectedNodeList.first())
select(selectedNodeList.first());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment