Skip to content

Commit

Permalink
When editing the last entry focus on today
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jan 30, 2024
1 parent 320353b commit 2048724
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gtimelog/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,7 @@ def on_focus_task_entry(self, action, parameter):
def on_edit_last_entry(self, action, parameter):
text = self.timelog.remove_last_entry()
if text is not None:
self.date = None
self.notify('timelog')
self.tick(True)
self.task_entry.set_text(text)
Expand Down

0 comments on commit 2048724

Please sign in to comment.