Changeset - r10101:76454a97a38c
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-09-09 17:42:31
smatz@openttd.org
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -1016,13 +1016,12 @@ struct MainToolbarWindow : Window {
 
		if (_game_mode != GM_MENU && !this->IsWidgetDisabled(widget)) _toolbar_button_procs[widget](this);
 
	}
 

	
 
	virtual void OnDropdownSelect(int widget, int index)
 
	{
 
		_menu_clicked_procs[widget](index);
 
		SndPlayFx(SND_15_BEEP);
 
	}
 

	
 
	virtual EventState OnKeyPress(uint16 key, uint16 keycode)
 
	{
 
		switch (keycode) {
 
			case WKC_F1: case WKC_PAUSE: ToolbarPauseClick(this); break;
0 comments (0 inline, 0 general)