From f0f0aab6b934165355a3eed708e1f63cefc95676 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Sat, 21 Aug 2010 21:33:48 +0200 Subject: [PATCH] Set focus to the treeview after search --- gui/shipBrowser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 3b4119d24..2e37da614 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -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