1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codefix: use SetToolTip(..) instead of SetStringTip(STR_NULL, ..)

This commit is contained in:
Rubidium
2025-01-03 13:32:13 +01:00
committed by rubidium42
parent 88c08561b3
commit 7c1ddd74d5
12 changed files with 33 additions and 33 deletions

View File

@@ -1304,7 +1304,7 @@ protected:
break;
}
this->GetWidget<NWidgetCore>(WID_SM_LEGEND)->SetStringTip(STR_NULL, legend_tooltip);
this->GetWidget<NWidgetCore>(WID_SM_LEGEND)->SetToolTip(legend_tooltip);
this->GetWidget<NWidgetCore>(WID_SM_ENABLE_ALL)->SetStringTip(STR_SMALLMAP_ENABLE_ALL, enable_all_tooltip);
this->GetWidget<NWidgetCore>(WID_SM_DISABLE_ALL)->SetStringTip(STR_SMALLMAP_DISABLE_ALL, disable_all_tooltip);
this->GetWidget<NWidgetStacked>(WID_SM_SHOW_IND_NAMES_SEL)->SetDisplayedPlane(industry_names_select_plane);