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

Method _clear_field_errors

src/ui/host_editor.py:1473–1482  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1471 return errors
1472
1473 def _clear_field_errors(self):
1474 if hasattr(self, "patterns_error_label"):
1475 self.patterns_error_label.set_visible(False)
1476 if hasattr(self, "port_error_label"):
1477 self.port_error_label.set_visible(False)
1478 if hasattr(self, "patterns_entry"):
1479 self.patterns_entry.remove_css_class("entry-error")
1480
1481 if hasattr(self, "connect_timeout_entry") and self.connect_timeout_entry:
1482 self.connect_timeout_entry.remove_css_class("entry-error")
1483
1484 def _combo_select(self, combo_row, values: list[str], value: str):
1485 try:

Callers 1

_collect_field_errorsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected