Fix crash in linux for attribute groupings
This commit is contained in:
@@ -189,7 +189,6 @@ class ItemParams(wx.Panel):
|
|||||||
def PopulateList(self):
|
def PopulateList(self):
|
||||||
# self.paramList.setResizeColumn(0)
|
# self.paramList.setResizeColumn(0)
|
||||||
self.imageList = wx.ImageList(16, 16)
|
self.imageList = wx.ImageList(16, 16)
|
||||||
self.paramList.AssignImageList(self.imageList)
|
|
||||||
|
|
||||||
self.processed_attribs = set()
|
self.processed_attribs = set()
|
||||||
root = self.paramList.AddRoot("The Root Item")
|
root = self.paramList.AddRoot("The Root Item")
|
||||||
@@ -244,6 +243,7 @@ class ItemParams(wx.Panel):
|
|||||||
|
|
||||||
self.AddAttribute(root, name)
|
self.AddAttribute(root, name)
|
||||||
|
|
||||||
|
self.paramList.AssignImageList(self.imageList)
|
||||||
self.Layout()
|
self.Layout()
|
||||||
|
|
||||||
def GetData(self, attr):
|
def GetData(self, attr):
|
||||||
|
|||||||
Reference in New Issue
Block a user