MCPcopy Create free account
hub / github.com/BuddySirJava/SSH-Studio / _load_config

Method _load_config

src/ui/main_window.py:363–369  ·  view source on GitHub ↗

Trigger async config parsing via the application to keep UI responsive.

(self)

Source from the content-addressed store, hash-verified

361 self.host_list.filter_hosts("")
362
363 def _load_config(self):
364 """Trigger async config parsing via the application to keep UI responsive."""
365 try:
366 if hasattr(self.app, "_parse_config_async"):
367 self.app._parse_config_async()
368 except Exception as e:
369 self._show_error(f"Failed to trigger config reload: {e}")
370
371 def _reselect_current_host(self):
372 """Reselect and reload the previously selected host after model changes."""

Callers 3

_on_reloadMethod · 0.95
on_close_requestMethod · 0.95

Calls 2

_show_errorMethod · 0.95
_parse_config_asyncMethod · 0.80

Tested by

no test coverage detected