OSDN Git Service

QmlDesigner.nodeInstances: bugfix for state editing
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 22 Mar 2011 11:35:56 +0000 (12:35 +0100)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Tue, 22 Mar 2011 11:39:07 +0000 (12:39 +0100)
commite828c425b51f0133282b1b678fe2296780551de2
tree6a4e0c7f87c5bc9d4a5b6ec385f5aa68a411771b
parente8984f09f18748033c09f89443ab4a791f99fbb7
QmlDesigner.nodeInstances: bugfix for state editing

The state activeStateInstance() was always invalid as a side effect
of calling deactivateState() before.

So we always changed back to the base state when removing an item.

Reviewed-by: Kai Koehne
src/plugins/qmldesigner/designercore/instances/nodeinstanceserver.cpp