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

Method _update_empty_state

src/ui/host_list.py:190–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

188
189
190 def _update_empty_state(self):
191 try:
192 has_hosts = bool(self.hosts)
193 if self.empty_page:
194 self.empty_page.set_visible(not has_hosts)
195 if self.list_box:
196 self.list_box.set_visible(has_hosts)
197 except Exception:
198 pass
199
200 def _on_selection_changed(self, selection):
201 model, tree_iter = selection.get_selected()

Callers 2

load_hostsMethod · 0.95
filter_hostsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected