Skip to content
Snippets Groups Projects
Commit 38e71856 authored by tpylak's avatar tpylak
Browse files

minor: fix showing material properties

SVN: 15264
parent cd62d468
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,9 @@ abstract public class MaterialPropertiesComponent extends LayoutContainer implem ...@@ -92,7 +92,9 @@ abstract public class MaterialPropertiesComponent extends LayoutContainer implem
protected final void process(final Material result) protected final void process(final Material result)
{ {
viewer.removeAll(); viewer.removeAll();
addSection(viewer, new MaterialPropertiesSection(result, viewContext)); MaterialPropertiesSection props = new MaterialPropertiesSection(result, viewContext);
props.setContentVisible(true);
addSection(viewer, props);
viewer.layout(); viewer.layout();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment