Fix up focus for ship browser, allowing space or enter to work to open up new stage

This commit is contained in:
Ryan Holmes
2017-06-12 00:28:06 -04:00
parent a7c89f7b40
commit f5531b458b
6 changed files with 28 additions and 12 deletions

View File

@@ -54,11 +54,12 @@ class ShipBrowser(wx.Panel):
mainSizer = wx.BoxSizer(wx.VERTICAL)
self.navpanel = NavigationPanel(self)
mainSizer.Add(self.navpanel, 0, wx.EXPAND)
self.lpane = PFWidgetsContainer(self)
layout = wx.HORIZONTAL
self.navpanel = NavigationPanel(self)
mainSizer.Add(self.navpanel, 0, wx.EXPAND)
self.raceselect = RaceSelector(self, layout=layout, animate=False)
container = wx.BoxSizer(wx.VERTICAL if layout == wx.HORIZONTAL else wx.HORIZONTAL)