Commit 5f8eb4a3 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.statesEditorView: crash fix

fixes crash on shutdown
parent 1be10d3b
......@@ -100,6 +100,8 @@ void StatesEditorView::removeState(int nodeId)
void StatesEditorView::synchonizeCurrentStateFromWidget()
{
if (!model())
return;
int internalId = m_statesEditorWidget->currentStateInternalId();
if (internalId > 0 && hasModelNodeForInternalId(internalId)) {
......
Markdown is supported
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