MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _activate_context

Method _activate_context

SLiCAP/schematic/window.py:670–675  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

668 super().changeEvent(event)
669
670 def _activate_context(self) -> None:
671 project.set_current(self._current_path)
672 if self._current_path is not None:
673 import SLiCAP.schematic.config as _config
674 _config.load(project.ini_path())
675 self._library.inject_into_component_item()
676
677 def _on_save(self):
678 if self._doc_props.is_subcircuit:

Callers 1

changeEventMethod · 0.95

Calls 2

loadMethod · 0.80

Tested by

no test coverage detected