summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-18 17:41:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-18 17:41:14 +0300
commite7e3b9d83fe95542945cabbddbf802a5e119bb06 (patch)
tree9ecb256cb321b45872608b793095a2783baa41c8 /src/gui/widgets
parentb25682842931ba1414a8c83d8353eb24c7203f92 (diff)
downloadplus-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.cpp2
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)