diff --git a/src/plugins/qmldesigner/components/collectioneditor/collectiondetailsmodel.cpp b/src/plugins/qmldesigner/components/collectioneditor/collectiondetailsmodel.cpp index fcd6d686efd..2ca2d3e8004 100644 --- a/src/plugins/qmldesigner/components/collectioneditor/collectiondetailsmodel.cpp +++ b/src/plugins/qmldesigner/components/collectioneditor/collectiondetailsmodel.cpp @@ -153,6 +153,7 @@ bool CollectionDetailsModel::removeColumns(int column, int count, const QModelIn removeRows(0, rowCount(parent), parent); ensureSingleCell(); + setHasUnsavedChanges(true); return columnsRemoved; } @@ -169,6 +170,7 @@ bool CollectionDetailsModel::removeRows(int row, int count, const QModelIndex &p endRemoveRows(); ensureSingleCell(); + setHasUnsavedChanges(true); return rowsRemoved; }