From e8818e968cea0d05cd7aa27553a964c16813e422 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 26 Mar 2018 15:33:22 +0000 Subject: Android: Widgets can now request the on-screen keyboard when they get focus. This may fail if visible_focus is disabled. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Text_Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_Text_Editor.cxx') diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index ab2f30c51..5c03b4282 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -75,6 +75,7 @@ Fl_Text_Editor::Fl_Text_Editor(int X, int Y, int W, int H, const char* l) insert_mode_ = 1; key_bindings = 0; set_flag(MAC_USE_ACCENTS_MENU); + set_flag(NEEDS_KEYBOARD); // handle the default key bindings add_default_key_bindings(&key_bindings); -- cgit v1.2.3