Fix dropdown menu selection (#5847)
This fixes a bug that occurred when the selection list of a drop down menu was changed but the name was still the same.master
parent
ed8215042c
commit
a7787bb9d2
|
@ -2005,6 +2005,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
|
||||||
m_tooltips.clear();
|
m_tooltips.clear();
|
||||||
m_inventory_rings.clear();
|
m_inventory_rings.clear();
|
||||||
m_static_texts.clear();
|
m_static_texts.clear();
|
||||||
|
m_dropdowns.clear();
|
||||||
|
|
||||||
// Set default values (fits old formspec values)
|
// Set default values (fits old formspec values)
|
||||||
m_bgcolor = video::SColor(140,0,0,0);
|
m_bgcolor = video::SColor(140,0,0,0);
|
||||||
|
|
Loading…
Reference in New Issue