summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml')
-rw-r--r--share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
index 4a56443552..b0115e7980 100644
--- a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
+++ b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
@@ -48,7 +48,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
- onClicked: root.currentStateInternalId = nodeId
+ onClicked: root.currentStateInternalId = internalNodeId
}
ToolButton {
@@ -60,7 +60,7 @@ Rectangle {
width: 16
iconSource: "images/darkclose.png"
- onClicked: root.deleteState(nodeId)
+ onClicked: root.deleteState(internalNodeId)
}
TextField {
@@ -75,7 +75,7 @@ Rectangle {
Component.onCompleted: text = delegateStateName
onEditingFinished: {
if (text != delegateStateName)
- statesEditorModel.renameState(nodeId, text)
+ statesEditorModel.renameState(internalNodeId, text)
}
}