1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Restore focus to formspec menu when pressing a button

This commit is contained in:
Perttu Ahola 2012-07-25 18:28:40 +03:00
parent 100345f1e4
commit a26a66a8c4

View file

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