Changeset - r21303:eeba23be47d6
[Not reviewed]
master
0 1 0
alberth - 10 years ago 2014-03-05 21:21:55
alberth@openttd.org
(svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP)
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -619,7 +619,6 @@ static void DispatchLeftClickEvent(Windo
 
			widget_type != WWT_CLOSEBOX) {          // Don't change focused window if 'X' (close button) was clicked
 
		focused_widget_changed = true;
 
		SetFocusedWindow(w);
 
		w->OnFocus();
 
	}
 

	
 
	if (nw == NULL) return; // exit if clicked outside of widgets
0 comments (0 inline, 0 general)