mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Restore focus to formspec menu when pressing a button
This commit is contained in:
@ -1166,6 +1166,8 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
|
||||
return true;
|
||||
}else{
|
||||
s.send = false;
|
||||
// Restore focus to the full form
|
||||
Environment->setFocus(this);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user