mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r26420) -Fix (r25623) [FS#5948]: Goal GUI failed to shade.
This commit is contained in:
parent
3352dc7e62
commit
73a2245528
|
@ -273,6 +273,8 @@ struct GoalListWindow : public Window {
|
||||||
{
|
{
|
||||||
this->DrawWidgets();
|
this->DrawWidgets();
|
||||||
|
|
||||||
|
if (this->IsShaded()) return; // Don't draw anything when the window is shaded.
|
||||||
|
|
||||||
/* Calculate progress column width. */
|
/* Calculate progress column width. */
|
||||||
uint max_width = 0;
|
uint max_width = 0;
|
||||||
Goal *s;
|
Goal *s;
|
||||||
|
|
Loading…
Reference in New Issue