summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-02-01 12:23:39 +0000
committerfrosch <frosch@openttd.org>2015-02-01 12:23:39 +0000
commitc9114af70627010c81e80d0b3530554d2b06b9b1 (patch)
tree03aebf171f118341c37dd4fa7c5ac272af47b1db /src/widgets
parent5e2bc783bf021b9f4f13888f1e219559e59d9fa4 (diff)
downloadopenttd-c9114af70627010c81e80d0b3530554d2b06b9b1.tar.xz
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index e83772799..aecfc6b2f 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -82,7 +82,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = {
static WindowDesc _dropdown_desc(
WDP_MANUAL, NULL, 0, 0,
WC_DROPDOWN_MENU, WC_NONE,
- 0,
+ WDF_NO_FOCUS,
_nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets)
);