diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp index caa04e544c..b2e591ffdd 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;