summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-08-02 08:19:01 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-08-03 20:34:00 +0200
commit6de3558becb6e64a73504cafd3353c02622b9498 (patch)
treeb1897c566531c9f016723354a70f1e91c1b69186 /alot/commands/envelope.py
parentfd4d4c8fb28fa74b57d1b9de721a4f3e0fd1fafd (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