diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp index 0068e79ea6bae634eb688e7dd547b3affbb73031..6902d9bb4ba7778be02f8cfc12a36250205b5fea 100644 --- a/Fltk/onelabGroup.cpp +++ b/Fltk/onelabGroup.cpp @@ -908,7 +908,11 @@ void onelab_cb(Fl_Widget *w, void *data) o.setVisible(false); o.setNeverChanged(true); onelab::server::instance()->set(o); - c->run(); + // we should skip the computation here if no parameter has changed for the + // solver: + // + //if(action != "compute" || onelab::server::instance()->getChanged(c->getName())) + c->run(); if(action == "compute"){ // after computing with this solver, mark the parameters as unchanged // for this solver