Undoing removal of drones now restores their proper state

This commit is contained in:
DarkPhoenix
2019-04-11 18:20:56 +03:00
parent e90e9a5ca1
commit 5579929f83
6 changed files with 65 additions and 42 deletions

View File

@@ -122,8 +122,7 @@ class ProjectedView(d.Display):
if row != -1:
thing = self.get(row)
if thing:
sFit.removeProjected(fitID, self.get(row))
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
self.mainFrame.command.Submit(cmd.GuiRemoveProjectedCommand(fitID, self.get(row)))
def handleDrag(self, type, fitID):
# Those are drags coming from pyfa sources, NOT builtin wx drags