src/linetypes/modelobject.h

changeset 1279
0f6a4a7cafec
parent 1278
6e1ea24e5a5e
child 1297
389516787a4c
--- a/src/linetypes/modelobject.h	Thu Mar 08 11:36:55 2018 +0200
+++ b/src/linetypes/modelobject.h	Thu Mar 08 11:39:18 2018 +0200
@@ -89,7 +89,7 @@
 	static LDObject* newFromType(LDObjectType type);
 
 signals:
-	void codeChanged(const LDObjectState& before, const LDObjectState& after);
+	void modified(const LDObjectState& before, const LDObjectState& after);
 
 protected:
 	template<typename T>
@@ -276,6 +276,6 @@
 	{
 		Serializer::Archive before = Serializer::store(this);
 		*property = value;
-		emit codeChanged(before, Serializer::store(this));
+		emit modified(before, Serializer::store(this));
 	}
 }

mercurial