From 6857a548bd7c66934556841d97d11454392738f6 Mon Sep 17 00:00:00 2001
From: Francois Henrotte <francois.henrotte@ulg.ac.be>
Date: Sun, 29 Jan 2012 23:29:45 +0000
Subject: [PATCH] updates also the flag Visible

---
 Common/onelab.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Common/onelab.h b/Common/onelab.h
index 7dc691fd5b..8890faede0 100644
--- a/Common/onelab.h
+++ b/Common/onelab.h
@@ -233,6 +233,7 @@ namespace onelab{
       setMax(p.getMax());
       setStep(p.getStep());
       setChoices(p.getChoices());
+      setVisible(p.getVisible());// FIXME Why not?
     }
     std::string toChar() const
     {
@@ -296,6 +297,7 @@ namespace onelab{
         setChanged(true);
       }
       setChoices(p.getChoices());
+      setVisible(p.getVisible());// FIXME Why not?
     }
     std::string toChar() const
     {
-- 
GitLab