aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
diff options
context:
space:
mode:
authorChristiaan Janssen <christiaan.janssen@nokia.com>2010-03-01 14:14:01 +0100
committerChristiaan Janssen <christiaan.janssen@nokia.com>2010-03-01 14:14:12 +0100
commit97e220df2aaf5711adc069a2d016eafafbcd70b9 (patch)
treeb00cbe316a8a6669e97094184bf67d09402231ab /src/plugins/qmldesigner/components/stateseditor/stateslist.qml
parent3985c8daea6ed01b32b721d759d5c0c5935b2ce3 (diff)
QmlDesigner.StatesEditor: state switching
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateslist.qml')
-rw-r--r--src/plugins/qmldesigner/components/stateseditor/stateslist.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
index d1a97e4298..774f8645b0 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
+++ b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
@@ -23,7 +23,7 @@ Rectangle {
Connections {
target: statesEditorModel
- onChangedToState: { root.currentStateIndex = 1; }
+ onChangedToState: { root.currentStateIndex = n; }
}
// TextInputs don't loose focus automatically when user clicks away, have to be done explicitly