mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 12:24:15 +00:00
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
This commit is contained in:
parent
a6b0f0b51a
commit
ab67cf0031
@ -402,6 +402,8 @@ public:
|
||||
this->SetWidgetDisabledState(NCLWW_SELECT_ALL, !show_select_all);
|
||||
this->SetWidgetDisabledState(NCLWW_SELECT_UPDATE, !show_select_upgrade);
|
||||
|
||||
this->widget[NCLWW_CANCEL].data = filesize == 0 ? STR_AI_CLOSE : STR_AI_CANCEL;
|
||||
|
||||
this->DrawWidgets();
|
||||
|
||||
/* Edit box to filter for keywords */
|
||||
|
Loading…
Reference in New Issue
Block a user