diff options
author | pazz <patricktotzke@gmail.com> | 2011-05-27 10:48:44 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-05-27 10:48:44 +0100 |
commit | 31aaff7d7a436570f5364954e71d07da19c994df (patch) | |
tree | abf81500c841e19242c9e2105bf082e7f9bf5fb9 /alot/walker.py | |
parent | c2cbc549b69e8548e886caaf0a0a10d0964d1a82 (diff) |
refresh search results if toggletag removes a hit
Diffstat (limited to 'alot/walker.py')
-rw-r--r-- | alot/walker.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alot/walker.py b/alot/walker.py index b3cedffd..b4efb228 100644 --- a/alot/walker.py +++ b/alot/walker.py @@ -28,7 +28,7 @@ class IteratorWalker(urwid.ListWalker): def remove(self, obj): self.lines.remove(obj) self.set_focus(self.focus % len(self.lines)) - + self._modified() def _get_at_pos(self, pos): if pos < 0: # pos too low @@ -56,3 +56,6 @@ class IteratorWalker(urwid.ListWalker): next_widget = None self.empty = True return next_widget + + def get_lines(self): + return self.lines |