From d7c1b8551caa3063311c7a74ce2646167f6bc2f9 Mon Sep 17 00:00:00 2001 From: ivanimanishi Date: Fri, 26 Jul 2024 16:39:07 -0700 Subject: [PATCH] CompoundPlugValueWidget : Adapt to new PlugValueWidget API --- python/GafferCortexUI/CompoundPlugValueWidget.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/GafferCortexUI/CompoundPlugValueWidget.py b/python/GafferCortexUI/CompoundPlugValueWidget.py index 60c6ff31636..faa88351711 100644 --- a/python/GafferCortexUI/CompoundPlugValueWidget.py +++ b/python/GafferCortexUI/CompoundPlugValueWidget.py @@ -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 ) : @@ -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() :