1
0
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:
DS
2022-10-21 17:11:41 +02:00
committed by GitHub
parent 9f0d88407d
commit 7153cb8a0b
3 changed files with 63 additions and 8 deletions

View File

@@ -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