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:
Ignacio R. Morelle 2012-09-23 20:10:16 +00:00
parent d83ea423ea
commit 9a8140ca34

View file

@ -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)