src/model.cpp

changeset 1279
0f6a4a7cafec
parent 1278
6e1ea24e5a5e
child 1281
f9c01b455594
--- a/src/model.cpp	Thu Mar 08 11:36:55 2018 +0200
+++ b/src/model.cpp	Thu Mar 08 11:39:18 2018 +0200
@@ -40,7 +40,7 @@
 
 void Model::installObject(int row, LDObject* object)
 {
-	connect(object, SIGNAL(codeChanged(LDObjectState, LDObjectState)), this, SLOT(recountTriangles()));
+	connect(object, SIGNAL(modified(LDObjectState, LDObjectState)), this, SLOT(recountTriangles()));
 	beginInsertRows({}, row, row);
 	_objects.insert(row, object);
 

mercurial