From bfaad631bcaaa8d6759b7872ada28f85b713290e Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Thu, 28 Feb 2019 20:24:07 -0500 Subject: [PATCH] Fix crash in linux for attribute groupings --- gui/builtinItemStatsViews/itemAttributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinItemStatsViews/itemAttributes.py b/gui/builtinItemStatsViews/itemAttributes.py index 8e20c6636..747f25066 100644 --- a/gui/builtinItemStatsViews/itemAttributes.py +++ b/gui/builtinItemStatsViews/itemAttributes.py @@ -189,7 +189,6 @@ class ItemParams(wx.Panel): def PopulateList(self): # self.paramList.setResizeColumn(0) self.imageList = wx.ImageList(16, 16) - self.paramList.AssignImageList(self.imageList) self.processed_attribs = set() root = self.paramList.AddRoot("The Root Item") @@ -244,6 +243,7 @@ class ItemParams(wx.Panel): self.AddAttribute(root, name) + self.paramList.AssignImageList(self.imageList) self.Layout() def GetData(self, attr):