From 2105f203f18ef44e4710fc07148f1a2e5376cc68 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 11 Nov 2010 09:12:05 +0000 Subject: 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 --- src/Fl_Menu_Bar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Menu_Bar.cxx') 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; -- cgit v1.2.3