Skip to content

Commit

Permalink
Change pop widget number dictionary dictionary arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
DanicaSTFC committed Jan 22, 2024
1 parent b63bf36 commit 6c5e408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eqt/ui/UIFormWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def removeWidget(self, name):
self.getWidget(name, 'field').setParent(None)
formLayout.removeRow(self.widget_number_dictionary[name])
self._popWidgetFromDictionary(self.getWidgets(), name)
self._popWidgetNumberDictionary(name, widget_number)
self._popWidgetNumberDictionary(name)

def getWidget(self, name, role='field'):
'''
Expand Down

0 comments on commit 6c5e408

Please sign in to comment.