From 8465d0305c79ae29473f16f0506409c3e7fc5620 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 1 Nov 2012 08:32:18 +0000
Subject: [PATCH] faster refresh

---
 Fltk/onelabWindow.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp
index 8d9a56eead..b5e9a176e9 100644
--- a/Fltk/onelabWindow.cpp
+++ b/Fltk/onelabWindow.cpp
@@ -467,7 +467,10 @@ void onelab_cb(Fl_Widget *w, void *data)
   std::string action((const char*)data);
 
   if(action == "refresh"){
-    // nothing to do
+    updateGraphs();
+    FlGui::instance()->onelab->rebuildTree();
+    FlGui::instance()->onelab->show();
+    return;
   }
 
   if(action == "stop"){
-- 
GitLab