Commit 18646121 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

avoid duplicate groups with same label

pqProxyWidget supports groups to group multiple properties together.
When that happens, if the same group is listed multiple times with
different set of properties, the UI showed it as separate groups. It's
better if all properties in the group with the same label are clubbed
together. This fixes that.

Also cleaned up implementation in pqProxyWidget for creating widget to
be a bit easier to read.
parent bb8d1db9
......@@ -1687,7 +1687,6 @@
<PropertyGroup label="Frequency">
<Property name="XFreq" />
<Property name="YFreq" />
<Property name="ZFreq" />
<PropertyGroup label="Amplitude">
......@@ -1696,6 +1695,13 @@
<Property name="ZMag" />
<PropertyGroup label="Frequency">
<!-- this is added separately just to demonstrate that
this group will automatically get merged with the previous
one with the same name! -->
<Property name="ZFreq" />
<!-- End Wavelet -->
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment