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

explain

parent b2677457
No related branches found
No related tags found
No related merge requests found
...@@ -908,6 +908,10 @@ void onelab_cb(Fl_Widget *w, void *data) ...@@ -908,6 +908,10 @@ void onelab_cb(Fl_Widget *w, void *data)
o.setVisible(false); o.setVisible(false);
o.setNeverChanged(true); o.setNeverChanged(true);
onelab::server::instance()->set(o); onelab::server::instance()->set(o);
// 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(); c->run();
if(action == "compute"){ if(action == "compute"){
// after computing with this solver, mark the parameters as unchanged // after computing with this solver, mark the parameters as unchanged
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment