Skip to content
Snippets Groups Projects
Commit 54e4698b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

for ruth: g/m/s/p shortcuts now focus the menu window

parent a1de4d02
No related branches found
No related tags found
No related merge requests found
...@@ -392,18 +392,22 @@ int FlGui::testGlobalShortcuts(int event) ...@@ -392,18 +392,22 @@ int FlGui::testGlobalShortcuts(int event)
} }
else if(Fl::test_shortcut('g')) { else if(Fl::test_shortcut('g')) {
mod_geometry_cb(0, 0); mod_geometry_cb(0, 0);
Fl::focus(menu->scroll);
status = 1; status = 1;
} }
else if(Fl::test_shortcut('m')) { else if(Fl::test_shortcut('m')) {
mod_mesh_cb(0, 0); mod_mesh_cb(0, 0);
Fl::focus(menu->scroll);
status = 1; status = 1;
} }
else if(Fl::test_shortcut('s')) { else if(Fl::test_shortcut('s')) {
mod_solver_cb(0, 0); mod_solver_cb(0, 0);
Fl::focus(menu->scroll);
status = 1; status = 1;
} }
else if(Fl::test_shortcut('p')) { else if(Fl::test_shortcut('p')) {
mod_post_cb(0, 0); mod_post_cb(0, 0);
Fl::focus(menu->scroll);
status = 1; status = 1;
} }
else if(Fl::test_shortcut('<')) { else if(Fl::test_shortcut('<')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment