Clean up new tactical mode stats stuff

(cherry picked from commit c9bc234)
This commit is contained in:
blitzman
2016-12-09 23:04:51 -08:00
committed by Ebag333
parent 9cfa0748ac
commit 57edc32a4b
4 changed files with 7 additions and 26 deletions

View File

@@ -71,11 +71,6 @@ class ContextMenu(object):
amount += 1
texts = m.getText(itemContext, selection)
# Check the selected item to see if it has special reasons for not showing the menu item
if srcContext == "fittingMode" and texts == "Remove Module":
# Don't show remove for modes, these are special modules that cannot be removed
continue
if isinstance(texts, basestring):
texts = (texts,)