This commit is contained in:
James Turk 2025-01-03 23:31:11 -06:00
parent 555397452c
commit 220076f38d
2 changed files with 1 additions and 5 deletions

View File

@ -1,2 +0,0 @@
def hello() -> None:
print("Hello from tt!")

View File

@ -181,13 +181,11 @@ class TT(App):
def move_cursor_to_task(self, task_id):
# ick, but only way to search table?
for row in range(len(self.table.rows)):
for row in range(self.table.row_count):
data = self.table.get_row_at(row)
if data[0] == str(task_id):
self.table.move_cursor(row=row, column=1)
break
else:
raise Exception("nope")
# Control of edit bar ####################