diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index b6ea2aa985101d9679730ed502c38f5eb56fb80a..2bb959e7433016d207a9bba63651a44c96c6c9d9 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -654,7 +654,7 @@ int FlGui::testGlobalShortcuts(int event) } #if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3) else if(Fl::test_shortcut('@')) { - onelab_cb(0, (void*)"check"); + onelab_cb(0, (void*)"initial check"); status = 1; } #endif diff --git a/Fltk/menuWindow.cpp b/Fltk/menuWindow.cpp index 02491b0ee475cb1358aefbc809124f78556f5d4e..b066e75d1eb6d0ff0c34ae1833da292ca8370ab9 100644 --- a/Fltk/menuWindow.cpp +++ b/Fltk/menuWindow.cpp @@ -1598,7 +1598,7 @@ void mesh_save_cb(Fl_Widget *w, void *data) bool force_overwrite = false; if(data){ std::string str((const char*)data); - if(str == "force_overwrite") force_overwrite = true; + if(str == "force overwrite") force_overwrite = true; } std::string name = CTX::instance()->outputFileName; diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index b4ca70bc35e8dfebf6ab5e62c6e505ccd90e6f19..58ae8ba2db70f983135170fce2f8a7d01d0f89af 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -253,7 +253,7 @@ void onelab_cb(Fl_Widget *w, void *data) else if(action == "compute"){ geometry_reload_cb(0, 0); mesh_3d_cb(0, 0); - mesh_save_cb(0, (void*)"force_overwrite"); + mesh_save_cb(0, (void*)"force overwrite"); onelab::server::instance()->setChanged(false, "Gmsh"); } } @@ -265,7 +265,7 @@ void onelab_cb(Fl_Widget *w, void *data) onelab::client *c = it->second; if(c->getName() == "Gmsh") continue; std::string what = FlGui::instance()->onelab->getModelName(); - if(action == "check"){ + if(action == "initial check" || action == "check"){ c->run(what); } else if(action == "compute"){