Show affecting skills for charges as well
This commit is contained in:
@@ -12,7 +12,7 @@ class ChangeAffectingSkills(ContextMenu):
|
|||||||
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
|
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
|
||||||
|
|
||||||
def display(self, srcContext, selection):
|
def display(self, srcContext, selection):
|
||||||
if self.mainFrame.getActiveFit() is None or srcContext not in ("fittingModule", "fittingShip"):
|
if self.mainFrame.getActiveFit() is None or srcContext not in ("fittingModule", "fittingCharge", "fittingShip"):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.sChar = service.Character.getInstance()
|
self.sChar = service.Character.getInstance()
|
||||||
|
|||||||
Reference in New Issue
Block a user