Clean up new tactical mode stats stuff

This commit is contained in:
blitzman
2016-12-10 02:04:51 -05:00
parent eba98fec33
commit c9bc2341d1
4 changed files with 7 additions and 26 deletions

View File

@@ -70,11 +70,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,)