mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 11:29:10 +00:00
(svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "window_func.h"
|
||||
#include "gfx_func.h"
|
||||
#include "querystring_gui.h"
|
||||
#include "video/video_driver.hpp"
|
||||
|
||||
#include "widgets/osk_widget.h"
|
||||
|
||||
@@ -205,6 +206,7 @@ struct OskWindow : public Window {
|
||||
|
||||
virtual void OnFocusLost()
|
||||
{
|
||||
_video_driver->EditBoxLostFocus();
|
||||
delete this;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user