{
Lazy l = Settings_from(i);
entity it = l.m_get();
- if (returns) returns(it.tooltip);
+ if (returns) returns(it.titleTooltip);
return it;
}
METHOD(SettingSource, reload, int(entity this, string filter)) { return Settings_COUNT; }
METHOD(XonoticGameModelSettingsTab, fill, void(entity));
METHOD(XonoticGameModelSettingsTab, showNotify, void(entity));
ATTRIB(XonoticGameModelSettingsTab, title, string, _("Models"))
- ATTRIB(XonoticGameModelSettingsTab, tooltip, string, _("Customize how players and items are displayed in game"))
+ ATTRIB(XonoticGameModelSettingsTab, titleTooltip, string, _("Customize how players and items are displayed in game"))
ATTRIB(XonoticGameModelSettingsTab, intendedWidth, float, 0.9)
ATTRIB(XonoticGameModelSettingsTab, rows, float, 15.5)
ATTRIB(XonoticGameModelSettingsTab, columns, float, 5)
ATTRIB(XonoticTab, rowHeight, float, SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL) // pixels
ATTRIB(XonoticTab, backgroundImage, string, string_null)
+
+ // using "titleTooltip" instead of "tooltip" so that
+ // the tooltip search function doesn't find it
+ // .tooltip should be set only in the item displaying the tab title
+ ATTRIB(XonoticTab, titleTooltip, string, string_null)
ENDCLASS(XonoticTab)