diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-05-30 18:31:37 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:16 +0300 |
commit | 3f5fa6b6cb1500af7be154fa51dda0d8829cb59d (patch) | |
tree | bf5d8675c93f20f38e8b37bdc5c88034ab2ce6fd /gui/element.cpp | |
parent | 9be4f6f6fb9322d0c427be85562b890ed0217231 (diff) |
correctly updating elements in Controller::SetVisualScale
Diffstat (limited to 'gui/element.cpp')
-rw-r--r-- | gui/element.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/element.cpp b/gui/element.cpp index 5326613a67..501d5e5c95 100644 --- a/gui/element.cpp +++ b/gui/element.cpp @@ -65,6 +65,7 @@ namespace gui shared_ptr<Element> e = m_controller->FindElement(this); Controller * controller = m_controller; controller->RemoveElement(e); + m_controller = controller; OverlayElement::setPivot(pv); controller->AddElement(e); } |