(svn r26392) -Fix[FS#5933] No need to call OnFocus twice (MJP)

This commit is contained in:
alberth 2014-03-05 21:21:55 +00:00
parent 7a126a20ea
commit aee9444c1b
1 changed files with 0 additions and 1 deletions

View File

@ -619,7 +619,6 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count)
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