From 98fc263a40570c1e0b6aabfb5ea408967405e8f2 Mon Sep 17 00:00:00 2001 From: shuki Date: Fri, 6 Mar 2026 05:09:49 +0200 Subject: [PATCH] Fix snapshot selection using row key instead of get_cell Co-Authored-By: Claude Opus 4.6 --- tui/screens/snapshots.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tui/screens/snapshots.py b/tui/screens/snapshots.py index 4c02f63..ce16bd9 100644 --- a/tui/screens/snapshots.py +++ b/tui/screens/snapshots.py @@ -52,9 +52,7 @@ class SnapshotsScreen(Screen): try: table = self.query_one("#snap-table", DataTable) if table.cursor_row is not None and table.row_count > 0: - row_key = table.coordinate_to_cell_key((table.cursor_row, 0)).row_key.value - # The snapshot name is in the first (only) column - return str(table.get_cell(row_key, "Snapshot")) + return str(table.coordinate_to_cell_key((table.cursor_row, 0)).row_key.value) return None except Exception: return None