diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-18 17:41:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-18 17:41:14 +0300 |
commit | e7e3b9d83fe95542945cabbddbf802a5e119bb06 (patch) | |
tree | 9ecb256cb321b45872608b793095a2783baa41c8 /src/gui/widgets | |
parent | b25682842931ba1414a8c83d8353eb24c7203f92 (diff) | |
download | plus-e7e3b9d83fe95542945cabbddbf802a5e119bb06.tar.gz plus-e7e3b9d83fe95542945cabbddbf802a5e119bb06.tar.bz2 plus-e7e3b9d83fe95542945cabbddbf802a5e119bb06.tar.xz plus-e7e3b9d83fe95542945cabbddbf802a5e119bb06.zip |
Fix widgets list corruption.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/basiccontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp index f6c5f030d..e81bb2a3e 100644 --- a/src/gui/widgets/basiccontainer.cpp +++ b/src/gui/widgets/basiccontainer.cpp @@ -263,7 +263,7 @@ void BasicContainer::remove(Widget* widget) widget->_setFocusHandler(nullptr); widget->_setParent(nullptr); widget->removeDeathListener(this); - return; + break; } } FOR_EACH (WidgetListIterator, iter, mLogicWidgets) |