diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2017-08-02 08:19:01 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2017-08-03 20:34:00 +0200 |
commit | 6de3558becb6e64a73504cafd3353c02622b9498 (patch) | |
tree | b1897c566531c9f016723354a70f1e91c1b69186 /alot/commands/envelope.py | |
parent | fd4d4c8fb28fa74b57d1b9de721a4f3e0fd1fafd (diff) |
Fix message count in statusbar after tagging
When the else branch was hit the count was already updated by
SearchBuffer.rebuild() before the hitcount calculation was done and the
final result was obviously off. This fixes it by just counting the
messages in the search result directly.
The same code is implicitly already called in the other branch of the if
statement. So it is hopefully not a big overhead.
Fixes #1098
Diffstat (limited to 'alot/commands/envelope.py')
0 files changed, 0 insertions, 0 deletions