summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)