(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:
rubidium 2009-07-03 21:08:18 +00:00
parent a6b0f0b51a
commit ab67cf0031

View File

@ -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 */