--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/modeleditcontext.cpp Sun Sep 22 11:51:41 2019 +0300 @@ -0,0 +1,14 @@ +#include "modeleditcontext.h" + +Model::EditContext::EditContext(Model& model) : + model{model} +{ +} + +void Model::EditContext::setObjectProperty( + modelobjects::BaseObject* object, + modelobjects::Property property, + const QVariant& value) +{ + object->setProperty(property, value); +}