Fixes (#1288)
* Provide correct text formatting index * Fix remove item context menu in projected pane
This commit is contained in:
@@ -50,7 +50,7 @@ class ItemRemove(ContextMenu):
|
||||
sFit.removeBooster(fitID, fit.boosters.index(selection[0]))
|
||||
elif srcContext == "cargoItem":
|
||||
sFit.removeCargo(fitID, fit.cargo.index(selection[0]))
|
||||
elif srcContext == "projectedFit":
|
||||
elif srcContext in ("projectedFit", "projectedModule", "projectedDrone", "projectedFighter"):
|
||||
sFit.removeProjected(fitID, selection[0])
|
||||
elif srcContext == "commandFit":
|
||||
sFit.removeCommand(fitID, selection[0])
|
||||
|
||||
Reference in New Issue
Block a user