Remove character editor implant set context menu hack as it's no longer needed

This commit is contained in:
DarkPhoenix
2019-07-30 19:20:14 +03:00
parent cd20164d7a
commit 2aa274f56f
2 changed files with 11 additions and 27 deletions

View File

@@ -710,10 +710,7 @@ class ImplantEditorView(BaseImplantEditorView):
def spawnMenu(self, event):
context = (("implantEditor",),)
# fuck good coding practices, passing a pointer to the character editor here for [reasons] =D
# (see implantSets context class for info)
item = self.Parent.Parent
menu = ContextMenu.getMenu(self, item, (item,), *context)
menu = ContextMenu.getMenu(self, None, None, *context)
if menu:
self.PopupMenu(menu)