From e0d32825e306ca862a42af973d69708363bc83bf Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 7 Dec 2011 14:16:11 +0000 Subject: [PATCH] "initial check" is not necessary anymore --- Fltk/onelabWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index 478690dd50..2ee95e1f25 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -435,7 +435,7 @@ void onelab_cb(Fl_Widget *w, void *data) geometry_reload_cb(0, 0); for(unsigned int i = 0; i < modelNames.size(); i++) onelab::server::instance()->set(modelNames[i]); - action = "initial check"; + action = "check"; } FlGui::instance()->onelab->deactivate(); @@ -503,7 +503,7 @@ void onelab_cb(Fl_Widget *w, void *data) c->getName() == "GmshRemote") // distant post-processing Gmsh client continue; std::string what = getModelName(c); - if(action == "initial check" || action == "check"){ + if(action == "check"){ c->run(what); } else if(action == "compute"){ @@ -829,7 +829,7 @@ void solver_cb(Fl_Widget *w, void *data) std::string exe = opt_solver_executable(num, GMSH_GET, ""); FlGui::instance()->onelab->addSolver(name, exe, num); - onelab_cb(0, (void*)"initial check"); + onelab_cb(0, (void*)"check"); } #else -- GitLab