forked from qt-creator/qt-creator
QmlDesigner: Add "NOT" option to binding editor
* Add "NOT" CheckBox in binding editor if boolean target * Fix wrong node assignment in binding editor context menu call * Fix connection editor state iteration source * Cleanup redundant code Task-number: QDS-2872 Change-Id: I8780bb1507f991b52aacfb011b889896d74ccb4f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
6d5e302157
commit
d3ab7a89f9
@@ -279,10 +279,9 @@ void ActionEditor::prepareConnections()
|
||||
}
|
||||
|
||||
// States
|
||||
for (const QmlModelState &state : QmlItemNode(m_modelNode).states().allStates())
|
||||
for (const QmlModelState &state : QmlItemNode(m_modelNode.view()->rootModelNode()).states().allStates())
|
||||
states.append(state.name());
|
||||
|
||||
|
||||
if (!connections.isEmpty() && !m_dialog.isNull())
|
||||
m_dialog->setAllConnections(connections, singletons, states);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user