Add import stage to goTo logic, and fixed a bug with search initiating a goTo to the last hx item

This commit is contained in:
blitzmann
2015-02-09 00:07:22 -05:00
parent 6d29fd6bc1
commit dc77ee9353
2 changed files with 16 additions and 21 deletions

View File

@@ -601,9 +601,9 @@ class MainFrame(wx.Frame):
if len(fits) == 1:
fit = fits[0]
wx.PostEvent(self, FitSelected(fitID=fit.ID))
wx.PostEvent(self.shipBrowser, Stage3Selected(shipID=fit.shipID, back=0))
wx.PostEvent(self.shipBrowser, Stage3Selected(shipID=fit.shipID, back=True))
else:
wx.PostEvent(self.shipBrowser, ImportSelected(fits=fits, back=False))
wx.PostEvent(self.shipBrowser, ImportSelected(fits=fits, back=True))
def backupToXml(self, event):
""" Back up all fits to EVE XML file """