From e7e3b9d83fe95542945cabbddbf802a5e119bb06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 18 Mar 2014 17:41:14 +0300 Subject: Fix widgets list corruption. --- src/gui/widgets/basiccontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2