diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index c9043901af9f6d16570bfce6764bcb5cc1c023d1..edc7f8fdf8c703d929793e016dee1397a69d1114 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -392,18 +392,22 @@ int FlGui::testGlobalShortcuts(int event) } else if(Fl::test_shortcut('g')) { mod_geometry_cb(0, 0); + Fl::focus(menu->scroll); status = 1; } else if(Fl::test_shortcut('m')) { mod_mesh_cb(0, 0); + Fl::focus(menu->scroll); status = 1; } else if(Fl::test_shortcut('s')) { mod_solver_cb(0, 0); + Fl::focus(menu->scroll); status = 1; } else if(Fl::test_shortcut('p')) { mod_post_cb(0, 0); + Fl::focus(menu->scroll); status = 1; } else if(Fl::test_shortcut('<')) {