mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Don't append itemname to itemname in tooltip (#8176)
This commit is contained in:
parent
d5456da69d
commit
f5bdc04ab5
@ -2424,7 +2424,7 @@ void GUIFormSpecMenu::drawList(const ListDrawSpec &s, int layer,
|
||||
if (!item.name.empty()) {
|
||||
if (tooltip_text.empty())
|
||||
tooltip_text = utf8_to_wide(item.name);
|
||||
if (m_tooltip_append_itemname)
|
||||
else if (m_tooltip_append_itemname)
|
||||
tooltip_text += utf8_to_wide(" [" + item.name + "]");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user