From 04e610bff20f50ddd5c8053c08b5156f5c56cfda Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Wed, 13 Apr 2016 10:11:52 +0300 Subject: [PATCH] Don't add new entries after the filter subtotals --- src/gtimelog/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtimelog/main.py b/src/gtimelog/main.py index 9dad5da8..df331587 100644 --- a/src/gtimelog/main.py +++ b/src/gtimelog/main.py @@ -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()