Do not pass selection as fallback, as we're now calculating clicked row properly
This commit is contained in:
@@ -291,6 +291,7 @@ class Display(wx.ListCtrl):
|
||||
if window.GetName() == 'panel':
|
||||
ptCorrection = window.GetPosition()
|
||||
ptScreen = ptScreen - ptCorrection
|
||||
break
|
||||
ptClient = wx.ListCtrl.ScreenToClient(self, ptScreen)
|
||||
return ptClient
|
||||
|
||||
|
||||
Reference in New Issue
Block a user