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

Method _baseActivate

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

Source from the content-addressed store, hash-verified

347 return self.getSubMenu(callingWindow, context, selection, rootMenu, i, pitem)
348
349 def _baseActivate(self, callingWindow, fullContext, mainItem, selection, i):
350 selection = self.__getSelection(selection, mainItem)
351 return self.activate(callingWindow, fullContext, selection, i)
352
353 def __getSelection(self, selection, mainItem):
354 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