mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix formspec focus (#12795)
This commit is contained in:
parent
9f0d88407d
commit
7153cb8a0b
3 changed files with 63 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue