mirror of https://github.com/OpenTTD/OpenTTD
(svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed.
parent
89e9bbfa98
commit
058724b768
|
@ -728,6 +728,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e)
|
|||
} break;
|
||||
|
||||
case WE_CLICK:
|
||||
if (e->we.click.widget != NSSW_CONNTYPE_BTN && e->we.click.widget != NSSW_LANGUAGE_BTN) HideDropDownMenu(w);
|
||||
nd->field = e->we.click.widget;
|
||||
switch (e->we.click.widget) {
|
||||
case NSSW_CLOSE: // Close 'X'
|
||||
|
|
Loading…
Reference in New Issue