QmlDesigner: Fix base state update

Task-number: QDS-7799
Change-Id: I89216cdb8fb641e6b51c22b32e6a845e7952c601
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2022-09-29 10:57:52 +02:00
committed by Henning Gründl
parent b16d1e2b11
commit 3f6d8e8cd6
2 changed files with 1 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ void StatesEditorModel::reset()
QAbstractListModel::endResetModel();
evaluateExtend();
emit baseStateChanged();
}
QVariant StatesEditorModel::data(const QModelIndex &index, int role) const

View File

@@ -122,7 +122,6 @@ public slots:
void removeState(int nodeId);
private:
StatesEditorWidget *statesEditorWidget() const;
void resetModel();
void resetPropertyChangesModels();
void resetExtend();