diff --git a/Fltk/contextWindow.cpp b/Fltk/contextWindow.cpp
index c218486be945b94b2da4db90b39f0f94cd38c729..1e89fc6b7905e3b196dd0da30b6192c2d5355b9e 100644
--- a/Fltk/contextWindow.cpp
+++ b/Fltk/contextWindow.cpp
@@ -23,6 +23,7 @@ static void elementary_define_parameter_cb(Fl_Widget *w, void *data)
             FlGui::instance()->elementaryContext->input[25]->value(),
             GModel::current()->getFileName());
   FlGui::instance()->resetVisibility();
+  FlGui::instance()->rebuildTree(true);
 }
 
 static void elementary_define_point_cb(Fl_Widget *w, void *data)