From 058724b7682ab57234eb0c296de5e7ed88c509e0 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 15 Mar 2008 19:50:06 +0000 Subject: (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. --- src/network/network_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network') diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 7ee613cd1..3e3d5b54b 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -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' -- cgit v1.2.3-70-g09d2