diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-11-11 09:12:05 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-11-11 09:12:05 +0000 |
| commit | 2105f203f18ef44e4710fc07148f1a2e5376cc68 (patch) | |
| tree | b817a490852c964657aff73d9699ba1135943203 /src/Fl_Menu_Bar.cxx | |
| parent | 832c8787ab3769d6120b6b9c87581aae16cb3558 (diff) | |
Fixed menu and shortcut handling (STR #2243). This partly reverts the
fix for STR #2199 - for details see STR #2243.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Menu_Bar.cxx')
| -rw-r--r-- | src/Fl_Menu_Bar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_Bar.cxx b/src/Fl_Menu_Bar.cxx index 06a0003a2..c178805c2 100644 --- a/src/Fl_Menu_Bar.cxx +++ b/src/Fl_Menu_Bar.cxx @@ -65,7 +65,7 @@ int Fl_Menu_Bar::handle(int event) { return 1; case FL_SHORTCUT: if (visible_r()) { - v = menu()->find_shortcut(); + v = menu()->find_shortcut(0, true); if (v && v->submenu()) goto J1; } return test_shortcut() != 0; |
