gui1: gui::menu::reset_selection() should not emit the GUI clicking sound
This fixes and extra clicking sound when bringing up the Hotkey Preferences and Create Unit dialogs.
This commit is contained in:
parent
d83ea423ea
commit
9a8140ca34
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ void menu::move_selection_keeping_viewport(size_t id)
|
|||
|
||||
void menu::reset_selection()
|
||||
{
|
||||
set_selection_pos(0);
|
||||
set_selection_pos(0, true);
|
||||
}
|
||||
|
||||
void menu::key_press(SDLKey key)
|
||||
|
|
Loading…
Add table
Reference in a new issue