Fixed a focus issue in shipbrowser (scrolling using mouse wheel wasn't possible unless the scrollbar or an item was clicked)
This commit is contained in:
@@ -151,6 +151,8 @@ class PFListPane(wx.ScrolledWindow):
|
||||
if itemY >=-iheight and itemY< clientH:
|
||||
self._wList[i].Refresh()
|
||||
|
||||
self.SetFocus()
|
||||
|
||||
def RemoveWidget(self, child):
|
||||
child.Destroy()
|
||||
self._wList.remove(child)
|
||||
|
||||
Reference in New Issue
Block a user