Rely on clicked item instead of selection where it makes sense

This commit is contained in:
DarkPhoenix
2019-04-22 17:33:40 +03:00
parent e4481e8fb4
commit be2e0b5de4
21 changed files with 93 additions and 116 deletions

View File

@@ -50,7 +50,7 @@ class addImplantSet(ContextMenu):
self.context = context
if len(selection) == 1:
self.selection = selection[0] # dirty hack here
self.selection = mainItem # dirty hack here
self.idmap = {}