(svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows

This commit is contained in:
yexo
2010-08-19 11:33:15 +00:00
parent fa0b8573dc
commit 44ba57bb79
3 changed files with 19 additions and 16 deletions

View File

@@ -1587,7 +1587,7 @@ static NWidgetBase *MakeCompanyButtonRows(int *biggest_index)
NWidgetBackground *panel = new NWidgetBackground(WWT_PANEL, COLOUR_GREY, widnum);
panel->SetMinimalSize(sprite_size.width, sprite_size.height);
panel->SetFill(1, 0);
panel->SetDataTip(0x0, STR_GRAPH_KEY_COMPANY_SELECTION_TOOLTIP);
panel->SetDataTip(0x0, STR_PERFORMANCE_DETAIL_SELECT_COMPANY_TOOLTIP);
hor->Add(panel);
hor_length++;
}