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

trying to fix Amdine's crash

parent a1e90a4d
No related branches found
No related tags found
No related merge requests found
......@@ -600,7 +600,8 @@ static void updateGraphs()
redraw = redraw || ret;
}
if(redraw){
FlGui::instance()->updateViews(true, true);
// don't delete the widgets, as this is called in widget callbacks
FlGui::instance()->updateViews(true, false);
drawContext::global()->draw();
}
}
......@@ -1691,9 +1692,6 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, int ww, int hh,
void onelabGroup::rebuildTree(bool deleteWidgets)
{
// FIXME: testing this for Amandine
deleteWidgets = false;
FL_NORMAL_SIZE -= CTX::instance()->deltaFontSize;
_computeWidths();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment