mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02: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;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
s.send = false;
|
s.send = false;
|
||||||
|
// Restore focus to the full form
|
||||||
|
Environment->setFocus(this);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user