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 | 058724b7682ab57234eb0c296de5e7ed88c509e0 (patch) | |
tree | ab4dd2c627f381cea9a54ef15ded332c6b993526 /src/network | |
parent | 89e9bbfa98e5dd01a7624e2937a60a2999c3c289 (diff) | |
download | openttd-058724b7682ab57234eb0c296de5e7ed88c509e0.tar.xz |
(svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed.
Diffstat (limited to 'src/network')
-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' |