From 86e57b1d15c329a11bd6252edb84a394b8b871ea Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 19 Mar 2014 09:36:59 +0000
Subject: [PATCH] introducing memoery leak for Amadine -- will be removed
 tomorrow

---
 Fltk/onelabGroup.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp
index 75e3a40813..74f1432b4d 100644
--- a/Fltk/onelabGroup.cpp
+++ b/Fltk/onelabGroup.cpp
@@ -1691,6 +1691,9 @@ 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();
-- 
GitLab