Handle delete host button click.
(self, button)
| 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 |
no test coverage detected