mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 13:14:19 +01:00
(svn r25981) [1.3] -Backport from trunk:
- Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus (r25667) - Fix: [OSX] Crash when unhiding the main window [FS#4689] (r25665) - Fix: [OSX] Bootstrap downloading of a baseset did not work [FS#4847] (r25664) - Fix: [OSX] Monospace font detection [FS#4857] (r25663, r25662)
This commit is contained in:
@@ -277,7 +277,7 @@ void SetFocusedWindow(Window *w)
|
||||
* has a edit box as focused widget, or if a console is focused.
|
||||
* @return returns true if an edit box is in global focus or if the focused window is a console, else false
|
||||
*/
|
||||
static bool EditBoxInGlobalFocus()
|
||||
bool EditBoxInGlobalFocus()
|
||||
{
|
||||
if (_focused_window == NULL) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user