mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 18:28:35 +00:00
MP Match History: disable enter exiting
This commit is contained in:
parent
48c44b4d34
commit
a79f01799b
@ -53,6 +53,8 @@ mp_match_history::mp_match_history(const std::string& player_name, wesnothd_conn
|
||||
|
||||
void mp_match_history::pre_show(window& win)
|
||||
{
|
||||
win.set_enter_disabled(true);
|
||||
|
||||
button& newer_history = find_widget<button>(&win, "newer_history", false);
|
||||
button& older_history = find_widget<button>(&win, "older_history", false);
|
||||
connect_signal_mouse_left_click(newer_history, std::bind(&mp_match_history::newer_history_offset, this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user