summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2011-03-04 14:54:30 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2011-03-04 14:54:30 +0100
commitdf8affc87ba7931a643377032c2331dc01f6de4b (patch)
tree62744e6b0dcb5c2f4950576865ba3da9bd9dc159 /src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
parent990d66a0fb248067bfa0c3ed8a37c6dc2846112f (diff)
downloadqt-creator-df8affc87ba7931a643377032c2331dc01f6de4b.tar.gz
QmlDesigner.statesEditor: usability fix
If the user aborts state renaming or gives the state the same name again there is no MessageBox shown anymore.
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateseditorview.h')
-rw-r--r--src/plugins/qmldesigner/components/stateseditor/stateseditorview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
index 8e1faa2785..e09fe0d3a1 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
+++ b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h
@@ -50,6 +50,7 @@ public:
void renameState(int nodeId,const QString &newName);
bool validStateName(const QString &name) const;
+ QString currentStateName() const;
void nodeInstancePropertyChanged(const ModelNode &node, const QString &propertyName);