Skip to content
Snippets Groups Projects
Commit c67e0a6c authored by Paul McCarthy's avatar Paul McCarthy
Browse files

OverlayDisplayPanel updates widget list group names when overlay type changes.

parent 8fd094bd
No related branches found
No related tags found
No related merge requests found
......@@ -205,8 +205,9 @@ class OverlayDisplayPanel(fslpanel.FSLEyesPanel):
to :class:`.Display` or :class:`.DisplayOpts`
properties.
"""
self.__widgets.ClearGroup(groupName)
self.__widgets.ClearGroup( groupName)
self.__widgets.RenameGroup(groupName, strings.labels[self, target])
dispProps = _DISPLAY_PROPS.get(target, [], allhits=True)
dispProps = functools.reduce(lambda a, b: a + b, dispProps)
......
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