From d2c54853a445ebf58de92337345403c87b7b3f1c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 21 Jun 2002 06:47:07 +0000
Subject: [PATCH] File->Save

---
 Fltk/GUI.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp
index 39b9554bf5..1b45793b05 100644
--- a/Fltk/GUI.cpp
+++ b/Fltk/GUI.cpp
@@ -1,4 +1,4 @@
-// $Id: GUI.cpp,v 1.180 2002-06-15 21:25:27 geuzaine Exp $
+// $Id: GUI.cpp,v 1.181 2002-06-21 06:47:07 geuzaine Exp $
 //
 // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
 //
@@ -72,6 +72,7 @@ Fl_Menu_Item m_menubar_table[] = {
   {"File", 0, 0, 0, FL_SUBMENU},
     {"Open...",          FL_CTRL+'o', (Fl_Callback *)file_open_cb, 0},
     {"Merge...",         FL_CTRL+'m', (Fl_Callback *)file_merge_cb, 0},
+    {"Save",             FL_CTRL+'s', (Fl_Callback *)mesh_save_cb, 0},
     {"Save as",          0, 0, 0, FL_MENU_DIVIDER|FL_SUBMENU},
       {"By extension...",  FL_CTRL+'e', (Fl_Callback *)file_save_as_auto_cb, 0, FL_MENU_DIVIDER},
       {"Geometry",  0, 0, 0, FL_SUBMENU},
@@ -388,10 +389,12 @@ int GUI::global_shortcuts(int event){
     quit_selection = 1;
     return 1;
   }
+/* I made this one more visible, as File->Save
   else if(Fl::test_shortcut(FL_CTRL+'s')){
     mesh_save_cb(0,0);
     return 1;
   }
+*/
   else if(Fl::test_shortcut(FL_CTRL+FL_SHIFT+'d')){
     opt_post_anim_delay(0,GMSH_SET|GMSH_GUI,opt_post_anim_delay(0,GMSH_GET,0) + 0.01);
     return 1;
-- 
GitLab