--- a/src/linetypes/modelobject.h Wed Apr 25 18:55:15 2018 +0300 +++ b/src/linetypes/modelobject.h Fri Apr 27 16:27:14 2018 +0300 @@ -89,6 +89,7 @@ static LDObject* newFromType(LDObjectType type); signals: + void aboutToBeModified(); void modified(const LDObjectState& before, const LDObjectState& after); protected: @@ -233,6 +234,7 @@ if (*property != value) { Serializer::Archive before = Serializer::store(this); + emit aboutToBeModified(); *property = value; emit modified(before, Serializer::store(this)); }