From f06e51d6b70b05da45c16563b9cd5582ed612252 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 1 Nov 2012 08:54:06 +0000 Subject: [PATCH] better --- Fltk/onelabWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fltk/onelabWindow.cpp b/Fltk/onelabWindow.cpp index b5e9a176e9..ea91af7d42 100644 --- a/Fltk/onelabWindow.cpp +++ b/Fltk/onelabWindow.cpp @@ -469,7 +469,8 @@ void onelab_cb(Fl_Widget *w, void *data) if(action == "refresh"){ updateGraphs(); FlGui::instance()->onelab->rebuildTree(); - FlGui::instance()->onelab->show(); + if(!FlGui::instance()->onelab->shown()) + FlGui::instance()->onelab->show(); return; } -- GitLab