summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/goal_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp
index caa04e544..b2e591ffd 100644
--- a/src/goal_gui.cpp
+++ b/src/goal_gui.cpp
@@ -273,6 +273,8 @@ struct GoalListWindow : public Window {
{
this->DrawWidgets();
+ if (this->IsShaded()) return; // Don't draw anything when the window is shaded.
+
/* Calculate progress column width. */
uint max_width = 0;
Goal *s;