mirror of https://github.com/OpenTTD/OpenTTD
(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.
parent
5e2bc783bf
commit
c9114af706
|
@ -632,7 +632,7 @@ static const NWidgetPart _nested_tooltips_widgets[] = {
|
|||
static WindowDesc _tool_tips_desc(
|
||||
WDP_MANUAL, NULL, 0, 0, // Coordinates and sizes are not used,
|
||||
WC_TOOLTIPS, WC_NONE,
|
||||
0,
|
||||
WDF_NO_FOCUS,
|
||||
_nested_tooltips_widgets, lengthof(_nested_tooltips_widgets)
|
||||
);
|
||||
|
||||
|
|
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue