Skip to content

Commit a7787bb

Browse files
red-001nerzhul
authored andcommittedJun 1, 2017
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.
1 parent ed82150 commit a7787bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/guiFormSpecMenu.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2005,6 +2005,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
20052005
m_tooltips.clear();
20062006
m_inventory_rings.clear();
20072007
m_static_texts.clear();
2008+
m_dropdowns.clear();
20082009

20092010
// Set default values (fits old formspec values)
20102011
m_bgcolor = video::SColor(140,0,0,0);

0 commit comments

Comments
 (0)
Please sign in to comment.