Commit f9a064da authored by Jochen Becher's avatar Jochen Becher

ModelEditor: Fix incomplete assignment of diagram's elements

Change-Id: I81bbb05316a57c9c8c961f2d21c6604cbc9c6b2e
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 287f66c4
......@@ -50,6 +50,7 @@ DObject::DObject()
DObject::DObject(const DObject &rhs)
: DElement(rhs),
_model_uid(rhs._model_uid),
_stereotypes(rhs._stereotypes),
_context(rhs._context),
_name(rhs._name),
_pos(rhs._pos),
......@@ -72,6 +73,7 @@ DObject &DObject::operator =(const DObject &rhs)
if (this != &rhs) {
DElement::operator=(rhs);
_model_uid = rhs._model_uid;
_stereotypes = rhs._stereotypes;
_context = rhs._context;
_name = rhs._name;
_pos = rhs._pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment