Commit 56445230 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.statesEditorView: Crash fix

The removed node is propably not a state.
parent 219332fd
......@@ -243,8 +243,8 @@ void StatesEditorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
if (debug)
qDebug() << __FUNCTION__;
if (QmlModelState(removedNode).isValid())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment