summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/basiccontainer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp
index 60c6ac336..f6c5f030d 100644
--- a/src/gui/widgets/basiccontainer.cpp
+++ b/src/gui/widgets/basiccontainer.cpp
@@ -218,6 +218,11 @@ Widget *BasicContainer::getWidgetAt(int x, int y)
void BasicContainer::logic()
{
BLOCK_START("BasicContainer::logic")
+ if (!mVisible)
+ {
+ BLOCK_END("BasicContainer::logic")
+ return;
+ }
logicChildren();
BLOCK_END("BasicContainer::logic")
}