OSDN Git Service

QmlDesigner.propertyEditor: crash fix
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Thu, 31 Mar 2011 09:13:51 +0000 (11:13 +0200)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Thu, 31 Mar 2011 09:13:51 +0000 (11:13 +0200)
commitff9a03b1092675a4ea82a62d6af1c24fa847bd08
treef15b46d4721339bfc4b2bed37083e4224ad9b93a
parent90679c06d55fb48ade7ce002d3a9d9f32656dec0
QmlDesigner.propertyEditor: crash fix

The stack trace from 4282 indicates that in fact currentState is invalid.
We should check for this.

Reviewed-by: Kai Koehne
Task-number: QTCREATORBUG-4282
src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp