mirror of https://github.com/OpenTTD/OpenTTD
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
parent
e5081f587a
commit
0757669c49
|
@ -1019,7 +1019,6 @@ struct MainToolbarWindow : Window {
|
||||||
virtual void OnDropdownSelect(int widget, int index)
|
virtual void OnDropdownSelect(int widget, int index)
|
||||||
{
|
{
|
||||||
_menu_clicked_procs[widget](index);
|
_menu_clicked_procs[widget](index);
|
||||||
SndPlayFx(SND_15_BEEP);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
|
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
|
||||||
|
|
Loading…
Reference in New Issue