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

Method _on_delete_clicked

src/ui/host_editor.py:447–454  ·  view source on GitHub ↗

Handle delete host button click.

(self, button)

Source from the content-addressed store, hash-verified

445 pass
446
447 def _on_delete_clicked(self, button):
448 """Handle delete host button click."""
449 try:
450 main_window = self.get_root()
451 if hasattr(main_window, "host_list") and main_window.host_list:
452 main_window.host_list.delete_host()
453 except Exception:
454 pass
455
456 def load_host(self, host: SSHHost):
457 self.is_loading = True

Callers 2

_setup_actionsMethod · 0.45
_on_key_pressedMethod · 0.45

Calls 1

delete_hostMethod · 0.80

Tested by

no test coverage detected