mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-23 23:53:52 +00:00
Faction Select: allow dialog to be closed with ESC (fixes #2404)
I had probably added this before since I wanted a player joining a game to always choose a leader, but that's rather mitigated by the fact that there's a cancel button.
This commit is contained in:
parent
626d413798
commit
e52bd6eba7
@ -51,8 +51,6 @@ faction_select::faction_select(ng::flg_manager& flg_manager, const std::string&
|
||||
|
||||
void faction_select::pre_show(window& window)
|
||||
{
|
||||
window.set_escape_disabled(true);
|
||||
|
||||
find_widget<label>(&window, "starting_pos", false).set_label(std::to_string(side_));
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user