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

Method _update_preview

SLiCAP/schematic/hyperlink_dialog.py:56–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self._url_edit.setFocus()
55
56 def _update_preview(self) -> None:
57 display = self._label_edit.text().strip() or self._url_edit.text().strip() or "preview"
58 self._preview.setText(display)
59
60 def url(self) -> str:
61 return self._url_edit.text().strip()

Callers

nothing calls this directly

Calls 1

textMethod · 0.80

Tested by

no test coverage detected