diff options
author | frosch <frosch@openttd.org> | 2014-03-23 12:49:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-03-23 12:49:22 +0000 |
commit | 73a22455289d8a29cdf4efd56a17cf2b646ea3dd (patch) | |
tree | 53eeaa33e2fae520afc0e4f93ee38be89a71f69d /src | |
parent | 3352dc7e62e85d747698d15f25ece3e11975847d (diff) | |
download | openttd-73a22455289d8a29cdf4efd56a17cf2b646ea3dd.tar.xz |
(svn r26420) -Fix (r25623) [FS#5948]: Goal GUI failed to shade.
Diffstat (limited to 'src')
-rw-r--r-- | src/goal_gui.cpp | 2 |
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; |