Fix image list in preferences dialog

This commit is contained in:
blitzmann
2018-02-19 01:20:57 -05:00
parent 4bbbd33917
commit d59c897921

View File

@@ -38,7 +38,7 @@ class PreferenceDialog(wx.Dialog):
# self.listview.SetSize((500, -1))
self.imageList = wx.ImageList(32, 32)
self.listbook.SetImageList(self.imageList)
self.listbook.AssignImageList(self.imageList)
mainSizer.Add(self.listbook, 1, wx.EXPAND | wx.TOP | wx.BOTTOM | wx.LEFT, 5)