Commit 887a26a7 authored by dpace's avatar dpace
Browse files

BUG: Fix error in showing/hiding editor for embedded editor widgets

- Embedded editor widgets don't have an editLabelMapsFrame collapsible button
- Embedded editor widgets are always shown, so set them up in the beginning

git-svn-id: 3bd1e089-480b-0410-8dfb-8563597acbee
parent cea74f5e
......@@ -60,6 +60,8 @@ class EditorWidget:
self.parent = parent
self.layout = parent.layout()
if self.embedded:
def enter(self):
# get the master and merge nodes from the composite node associated
......@@ -187,6 +189,7 @@ class EditorWidget:
self.toolsBox = EditorLib.EditBox(self.editBoxFrame, optionsFrame=self.effectOptionsFrame, embedded=self.embedded, suppliedEffects=self.suppliedEffects)
def updateLabelFrame(self, mergeVolume):
if not self.embedded:
self.editLabelMapsFrame.collapsed = not mergeVolume
#->> TODO: check to make sure editor module smoothly handles interactive changes to the master and merge nodes
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