diff options
Diffstat (limited to 'src/Fl_Text_Editor.cxx')
| -rw-r--r-- | src/Fl_Text_Editor.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx index 6cfc0240d..5c2ef5996 100644 --- a/src/Fl_Text_Editor.cxx +++ b/src/Fl_Text_Editor.cxx @@ -486,9 +486,11 @@ int Fl_Text_Editor::handle(int event) { case FL_SHORTCUT: if (!(shortcut() ? Fl::test_shortcut(shortcut()) : test_shortcut())) return 0; - if (Fl::visible_focus() && handle(FL_FOCUS)) + if (Fl::visible_focus() && handle(FL_FOCUS)) { Fl::focus(this); - return 1; + return 1; + } + break; } return Fl_Text_Display::handle(event); |
