Switch to the relevant additions pane when items are added to it

This commit is contained in:
cncfanatics
2010-10-21 07:34:23 +02:00
parent 68c352a44c
commit 1e75f09e0b
4 changed files with 6 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ class ImplantView(d.Display):
trigger = cFit.addImplant(fitID, event.itemID)
if trigger:
wx.PostEvent(self.mainFrame, fv.FitChanged(fitID=fitID))
self.mainFrame.additionsPane.select("Implants")
event.Skip()