diff options
author | peter1138 <peter1138@openttd.org> | 2008-03-15 19:50:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-03-15 19:50:06 +0000 |
commit | 46ad4b8267da85a9f352e447e5ef5fd7de57cec9 (patch) | |
tree | ab4dd2c627f381cea9a54ef15ded332c6b993526 /src/network/network_gui.cpp | |
parent | 3d10ae7ec366900db0175bb665f90f0e19e30a0c (diff) | |
download | openttd-46ad4b8267da85a9f352e447e5ef5fd7de57cec9.tar.xz |
(svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed.
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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' |