Change projected fit context menu entry names
This commit is contained in:
@@ -319,7 +319,7 @@ class ProjectedView(d.Display):
|
||||
context = (modFullContext,)
|
||||
else:
|
||||
fitSrcContext = "projectedFit"
|
||||
fitItemContext = item.name
|
||||
fitItemContext = "Fit"
|
||||
context = ((fitSrcContext, fitItemContext),)
|
||||
|
||||
context += (("projected",),)
|
||||
|
||||
@@ -23,7 +23,7 @@ class RemoveItem(ContextMenu):
|
||||
def getText(self, itmContext, selection):
|
||||
return 'Remove {}{}'.format(
|
||||
itmContext if itmContext is not None else 'Item',
|
||||
' Stack' if itmContext == 'Drone' else '')
|
||||
' Stack' if itmContext in ('Drone', 'Fit') else '')
|
||||
|
||||
def activate(self, fullContext, selection, i):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user