mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Don't append itemname to itemname in tooltip (#8176)
This commit is contained in:
		@@ -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 + "]");
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user