src/modeleditcontext.cpp

changeset 135
d384df40c8e7
parent 133
e39326ee48dc
child 136
e8444e0d7f1a
--- a/src/modeleditcontext.cpp	Wed Sep 22 00:25:13 2021 +0300
+++ b/src/modeleditcontext.cpp	Wed Sep 22 00:25:31 2021 +0300
@@ -29,8 +29,7 @@
 {
 	for (ldraw::id_t id : this->modifiedObjects)
 	{
-		const QModelIndex index = this->model().lookup(id);
-		Q_EMIT this->model().dataChanged(index, index);
+		this->model().objectModified(id);
 	}
 }
 

mercurial