Skip to content

Commit

Permalink
Merge pull request #4048 from johnhaddon/uiEditorPy3Fix
Browse files Browse the repository at this point in the history
UIEditor : Fix Python 3 compatibility
  • Loading branch information
johnhaddon authored Dec 2, 2020
2 parents 43a69fa + c021d05 commit 4da0bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/GafferUI/UIEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ def __updateWidgetMenuText( self ) :
metadata = Gaffer.Metadata.value( self.getPlug(), "plugValueWidget:type" )
registeredWidgets = self.__registeredPlugValueWidgets( self.getPlug() )

for label, widgetMetadata in registeredWidgets.iteritems() :
for label, widgetMetadata in registeredWidgets.items() :
if widgetMetadata == metadata :
self.__widgetMenu.setText( label )
return
Expand Down

0 comments on commit 4da0bc3

Please sign in to comment.