From 73a22455289d8a29cdf4efd56a17cf2b646ea3dd Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 23 Mar 2014 12:49:22 +0000 Subject: [PATCH] (svn r26420) -Fix (r25623) [FS#5948]: Goal GUI failed to shade. --- src/goal_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;