diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-08-20 18:34:34 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:19 +0300 |
commit | 0996bc3c7f5753d91407ca3b598dab6e47830364 (patch) | |
tree | 72ad96aaddde993098336d9e791b9018e6eabb0e /gui/controller.cpp | |
parent | a411c89dc29d8c5c55ac24a252764caf52c94f69 (diff) |
invalidating GUI element upon purging.
Diffstat (limited to 'gui/controller.cpp')
-rw-r--r-- | gui/controller.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/controller.cpp b/gui/controller.cpp index b0a09dbd77..b348b1f6be 100644 --- a/gui/controller.cpp +++ b/gui/controller.cpp @@ -200,6 +200,10 @@ namespace gui for (elem_list_t::const_iterator it = m_Elements.begin(); it != m_Elements.end(); ++it) + { (*it)->purge(); + (*it)->setIsDirtyDrawing(true); + (*it)->setIsDirtyRect(true); + } } } |