mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Fix formspec focus (#12795)
This commit is contained in:
@@ -3046,7 +3046,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
|
||||
}
|
||||
} else {
|
||||
// Don't keep old focus value
|
||||
m_focused_element.clear();
|
||||
m_focused_element = nullopt;
|
||||
}
|
||||
|
||||
// Remove children
|
||||
|
Reference in New Issue
Block a user