Commit f2db3a91 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Thomas Hartmann

QmlDesigner: Disable validator for connection source

Change-Id: If51f2336364b9e2a44ad7f4657b9b6245a66143b
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent cb86cc3b
......@@ -313,6 +313,7 @@ QWidget *ConnectionDelegate::createEditor(QWidget *parent, const QStyleOptionVie
QString itemText = tr("Change to default state");
QString source = QString::fromLatin1("{ %1.state = \"\" }").arg(;
connectionComboBox->addItem(itemText, source);
foreach (const QmlModelState &state, QmlItemNode(rootModelNode).states().allStates()) {
QString itemText = tr("Change state to %1").arg(;
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