MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / _baseActivate

Method _baseActivate

gui/contextMenu.py:398–400  ·  view source on GitHub ↗
(self, callingWindow, fullContext, mainItem, selection, i)

Source from the content-addressed store, hash-verified

396 return self.getSubMenu(callingWindow, context, mainItem, selection, rootMenu, i, pitem)
397
398 def _baseActivate(self, callingWindow, fullContext, mainItem, selection, i):
399 selection = self.__getSelection(selection, mainItem)
400 return self.activate(callingWindow, fullContext, mainItem, selection, i)
401
402 def __getSelection(self, selection, mainItem):
403 if mainItem is not None and mainItem not in selection:

Callers

nothing calls this directly

Calls 2

__getSelectionMethod · 0.95
activateMethod · 0.95

Tested by

no test coverage detected