Skip to content

Commit

Permalink
CompoundPlugValueWidget : Adapt to new PlugValueWidget API
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanimanishi committed Jul 26, 2024
1 parent cbbf387 commit d7c1b85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/GafferCortexUI/CompoundPlugValueWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ def __init__( self, plug, collapsed=True, label=None, summary=None, **kw ) :

self.__summary = summary

CompoundPlugValueWidget._updateFromPlug( self )

## Returns a PlugValueWidget representing the specified child plug.
def childPlugValueWidget( self, childPlug ) :

Expand All @@ -126,7 +124,7 @@ def hasLabel( self ) :

return True

def _updateFromPlug( self ) :
def _updateFromValues( self, values, exception ) :

if self.__summary is not None and self.__collapsible is not None :
with self.getContext() :
Expand Down

0 comments on commit d7c1b85

Please sign in to comment.