mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 13:34:58 +00:00
GUI2/Text Box Base: made ctrl+a select all text
Previously it was an alias for HOME, which is unintuitive and rather useless.
This commit is contained in:
parent
2cf5ce0154
commit
201fafd5ea
@ -513,9 +513,8 @@ void text_box_base::signal_handler_sdl_key_down(const event::ui_event event,
|
||||
return;
|
||||
}
|
||||
|
||||
// If ctrl-a is used for home drop the styled_widget modifier
|
||||
modifier = static_cast<SDL_Keymod>(modifier & ~KMOD_CTRL);
|
||||
FALLTHROUGH;
|
||||
select_all();
|
||||
break;
|
||||
|
||||
case SDLK_HOME:
|
||||
handle_key_home(modifier, handled);
|
||||
|
Loading…
x
Reference in New Issue
Block a user