diff options
Diffstat (limited to 'src/Fl_Input_.cxx')
| -rw-r--r-- | src/Fl_Input_.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index 2bde01c39..08378f7b8 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -791,9 +791,10 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) { 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; + } // else fall through default: return 0; |
