remove debug

This commit is contained in:
phact 2025-09-16 10:27:32 -04:00
parent ad9e329bff
commit 2c8cbc95a5

View file

@ -729,21 +729,19 @@ class MonitorScreen(Screen):
def on_data_table_row_selected(self, event: DataTable.RowSelected) -> None: def on_data_table_row_selected(self, event: DataTable.RowSelected) -> None:
"""Handle row selection events to ensure mutual exclusivity.""" """Handle row selection events to ensure mutual exclusivity."""
selected_table = event.data_table selected_table = event.data_table
self.notify(f"DEBUG: Row selected in {selected_table.id}", severity="information")
try: try:
# Track which table was selected # Track which table was selected
if selected_table.id == "services-table": if selected_table.id == "services-table":
self._last_selected_table = "services" self._last_selected_table = "services"
self.notify(f"DEBUG: Set last_selected_table to services", severity="information")
# Clear docling table selection # Clear docling table selection
if self.docling_table: if self.docling_table:
self.docling_table.cursor_row = -1 self.docling_table.cursor_row = -1
elif selected_table.id == "docling-table": elif selected_table.id == "docling-table":
self._last_selected_table = "docling" self._last_selected_table = "docling"
self.notify(f"DEBUG: Set last_selected_table to docling", severity="information")
# Clear services table selection # Clear services table selection
services_table = self.query_one("#services-table", DataTable) services_table = self.query_one("#services-table", DataTable)
services_table.cursor_row = -1 services_table.cursor_row = -1
except Exception as e: except Exception:
self.notify(f"DEBUG: Error in row selection handler: {e}", severity="error") # Ignore errors during table manipulation
pass