aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account-wizard.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-03-20 09:47:52 +0100
committerRobin Jarry <robin@jarry.cc>2022-03-20 10:00:50 +0100
commit9f4da4de0c9b3a330a8c7032e285117cfa5448dc (patch)
tree71871187b2bcef9a63b92f9a65a2d6cacb1180ce /widgets/account-wizard.go
parent7d2b0f579dd307fe541401efcf79d318367ad5e2 (diff)
downloadaerc-9f4da4de0c9b3a330a8c7032e285117cfa5448dc.tar.gz
msglist: update message counter upon filter change
Update message counter in msglist when the filter is changed (either set or cleared in the msgstore). When we apply a filter, we change the number of uids in the message store. This can unintentionally trigger the storeUpdate() function of the msglist which checks the number of uids for new messages and advances the pointer by the difference in the number of messages. This can be avoided when we update the message counter upon changing the filter. Fixes: https://todo.sr.ht/~rjarry/aerc/23 Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/account-wizard.go')
0 files changed, 0 insertions, 0 deletions