(self)
| 566 | self._scene._library = lib |
| 567 | |
| 568 | def _on_new(self): |
| 569 | self._scene.reset() |
| 570 | self._scene.clear_history() |
| 571 | self._current_path = None |
| 572 | project.set_current(None) |
| 573 | self._build_library() # back to system symbols only |
| 574 | import SLiCAP.schematic.config as _config |
| 575 | _config.load(None) # new doc → global style defaults |
| 576 | self._doc_props = DocumentProperties.new() |
| 577 | self._dirty = False |
| 578 | self.setWindowTitle("SLiCAP Schematic Capture") |
| 579 | |
| 580 | def _on_open(self): |
| 581 | path, _ = QFileDialog.getOpenFileName( |
nothing calls this directly
no test coverage detected