From 38e7185676010d37fdae45f2c8132752ca2ae4e7 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Wed, 24 Mar 2010 14:52:47 +0000
Subject: [PATCH] minor: fix showing material properties

SVN: 15264
---
 .../application/material/MaterialPropertiesComponent.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/MaterialPropertiesComponent.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/MaterialPropertiesComponent.java
index 487c6d510f3..203bc2ac0da 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/MaterialPropertiesComponent.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/material/MaterialPropertiesComponent.java
@@ -92,7 +92,9 @@ abstract public class MaterialPropertiesComponent extends LayoutContainer implem
         protected final void process(final Material result)
         {
             viewer.removeAll();
-            addSection(viewer, new MaterialPropertiesSection(result, viewContext));
+            MaterialPropertiesSection props = new MaterialPropertiesSection(result, viewContext);
+            props.setContentVisible(true);
+            addSection(viewer, props);
             viewer.layout();
         }
 
-- 
GitLab