Skip to content

Commit

Permalink
Don't add new entries after the filter subtotals
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Apr 13, 2016
1 parent 64bce48 commit 04e610b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gtimelog/main.py
Expand Up @@ -1450,7 +1450,8 @@ def populate_log(self):
self.scroll_to_end()

def entry_added(self, same_day):
if self.detail_level == 'chronological' and same_day:
if (self.detail_level == 'chronological' and same_day
and not self.filter_text):
self.delete_footer()
self.write_item(self.timelog.last_entry())
self.add_footer()
Expand Down

0 comments on commit 04e610b

Please sign in to comment.