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

@@ -55,6 +55,7 @@ class DroneView(d.Display):
trigger = cFit.addDrone(fitID, event.itemID)
if trigger:
wx.PostEvent(self.mainFrame, fv.FitChanged(fitID=fitID))
self.mainFrame.additionsPane.select("Drones")
event.Skip()