diff options
author | yw05 <37980625+yw05@users.noreply.github.com> | 2021-04-05 15:56:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 15:56:29 +0200 |
commit | 85163b531f283c52111c3964fd382e4ed1dafeb8 (patch) | |
tree | 4d49b0720fe784b30b7566113018fdf4d0213f7d /src/gui/guiChatConsole.h | |
parent | 23325277659132e95b346307b591c944625bda16 (diff) | |
download | minetest-85163b531f283c52111c3964fd382e4ed1dafeb8.tar.gz minetest-85163b531f283c52111c3964fd382e4ed1dafeb8.tar.bz2 minetest-85163b531f283c52111c3964fd382e4ed1dafeb8.zip |
Make edit boxes respond to string input (IME) (#11156)
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
Diffstat (limited to 'src/gui/guiChatConsole.h')
-rw-r--r-- | src/gui/guiChatConsole.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/guiChatConsole.h b/src/gui/guiChatConsole.h index 896342ab0..1152f2b2d 100644 --- a/src/gui/guiChatConsole.h +++ b/src/gui/guiChatConsole.h @@ -72,6 +72,8 @@ public: virtual void setVisible(bool visible); + virtual bool acceptsIME() { return true; } + private: void reformatConsole(); void recalculateConsolePosition(); |