Replace deprecated method with suggested one

This commit is contained in:
Ogi Moore 2021-01-31 20:39:07 -08:00
parent 7b3fdda1e4
commit 0495f1dcce

View File

@ -288,7 +288,7 @@ class WidgetParameterItem(ParameterItem):
if tree is None:
return
if self.asSubItem:
tree.setFirstItemColumnSpanned(self.subItem, True)
self.subItem.setFirstColumnSpanned(True)
tree.setItemWidget(self.subItem, 0, self.widget)
tree.setItemWidget(self, 1, self.layoutWidget)
self.displayLabel.hide()