summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index 49af3ae2..6419eabb 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -272,6 +272,9 @@ void StatusWindow::update()
void StatusWindow::draw(gcn::Graphics *g)
{
+ if (!isVisible())
+ return;
+
update();
Window::draw(g);