1
0
Fork 0
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:
DS 2022-10-21 17:11:41 +02:00 committed by GitHub
parent 9f0d88407d
commit 7153cb8a0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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