diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp index 7e6808f1773b6b53bcedef85b42b6c2ccceadc21..57e5cf0b7f2cd648f06c7da44338ce32437c6eec 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp +++ b/src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp @@ -88,7 +88,8 @@ int StatesEditorModel::rowCount(const QModelIndex &parent) const void StatesEditorModel::reset() { - QAbstractListModel::reset(); + QAbstractListModel::beginResetModel(); + QAbstractListModel::endResetModel(); } QVariant StatesEditorModel::data(const QModelIndex &index, int role) const