Small fix that prevents flickering of fitting view scrollbars when those are present - happens on msw
This commit is contained in:
@@ -83,6 +83,9 @@ class Display(wx.ListCtrl):
|
||||
|
||||
def populate(self, stuff):
|
||||
selection = []
|
||||
|
||||
self.Freeze()
|
||||
|
||||
sel = self.GetFirstSelected()
|
||||
while sel != -1:
|
||||
selection.append(sel)
|
||||
@@ -108,6 +111,8 @@ class Display(wx.ListCtrl):
|
||||
for sel in selection:
|
||||
self.Select(sel)
|
||||
|
||||
self.Thaw()
|
||||
|
||||
def getColumn(self, point):
|
||||
x = point[0]
|
||||
total = 0
|
||||
|
||||
Reference in New Issue
Block a user