Set focus to the treeview after search
This commit is contained in:
@@ -188,6 +188,7 @@ class ShipBrowser(wx.Panel):
|
||||
_, currShipID = self.shipView.GetPyData(shipChild)
|
||||
if shipID == currShipID:
|
||||
self.shipView.SelectItem(shipChild)
|
||||
self.SetFocus()
|
||||
break
|
||||
shipChild, shipCookie = self.shipView.GetNextChild(child, shipCookie)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user