aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r--gui/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index 0594941d65..ac9d0dbb4d 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -150,7 +150,7 @@ void Dialog::drawDialog() {
// Draw all children
Widget *w = _firstWidget;
while (w) {
- w->draw();
+ if (w->_debugVisible) w->draw();
w = w->_next;
}
}