Merge branch 'master' into ammo_graph

This commit is contained in:
DarkPhoenix
2019-10-31 11:29:31 +03:00
48 changed files with 4020292 additions and 91 deletions

View File

@@ -468,6 +468,8 @@ class FittingView(d.Display):
elif item.isModule:
if mstate.GetModifiers() == wx.MOD_ALT:
self.mainFrame.command.Submit(cmd.GuiFillWithNewLocalModulesCommand(fitID=fitID, itemID=itemID))
elif dstPos is not None:
self.mainFrame.command.Submit(cmd.GuiReplaceLocalModuleCommand(fitID=fitID, itemID=itemID, positions=[dstPos]))
else:
self.mainFrame.command.Submit(cmd.GuiAddLocalModuleCommand(fitID=fitID, itemID=itemID))
elif item.isSubsystem: