Replace deprecated method with suggested one
This commit is contained in:
parent
7b3fdda1e4
commit
0495f1dcce
@ -288,7 +288,7 @@ class WidgetParameterItem(ParameterItem):
|
|||||||
if tree is None:
|
if tree is None:
|
||||||
return
|
return
|
||||||
if self.asSubItem:
|
if self.asSubItem:
|
||||||
tree.setFirstItemColumnSpanned(self.subItem, True)
|
self.subItem.setFirstColumnSpanned(True)
|
||||||
tree.setItemWidget(self.subItem, 0, self.widget)
|
tree.setItemWidget(self.subItem, 0, self.widget)
|
||||||
tree.setItemWidget(self, 1, self.layoutWidget)
|
tree.setItemWidget(self, 1, self.layoutWidget)
|
||||||
self.displayLabel.hide()
|
self.displayLabel.hide()
|
||||||
|
Loading…
Reference in New Issue
Block a user