diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-03-04 14:54:30 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-03-04 14:54:30 +0100 |
commit | df8affc87ba7931a643377032c2331dc01f6de4b (patch) | |
tree | 62744e6b0dcb5c2f4950576865ba3da9bd9dc159 /src/plugins/qmldesigner/components/stateseditor/stateseditorview.h | |
parent | 990d66a0fb248067bfa0c3ed8a37c6dc2846112f (diff) | |
download | qt-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.h | 1 |
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); |