Commit 7df591c0 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.StatesEditor: Fix crash for removing state

parent dd6bf41b
......@@ -163,7 +163,7 @@ void StatesEditorModel::removeState(int stateIndex)
endRemoveRows();
emit dataChanged(index(updateIndex, 0), index(updateIndex, 0));
emit dataChanged(createIndex(updateIndex, 0), createIndex(updateIndex, 0));
emit countChanged();
}
}
......
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