about summary refs log tree commit diff stats
path: root/aerc.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-09-08 07:46:21 +0200
committerReto Brunner <reto@labrat.space>2020-09-08 07:48:55 +0200
commitfe42beb3e4ac00f07884880b7a6251c59fd04230 (patch)
treed2e5ab76fca265497819ba02a60e4ae7c559cad3 /aerc.go
parent6ddd347b06e840f064106a8181ae570e2d33d395 (diff)
downloadaerc-fe42beb3e4ac00f07884880b7a6251c59fd04230.tar.gz
dirlist: fix empty row if dir is added
There is a window where a new dir entry isn't yet in the dirlist.dir.
dirlist.ensureScroll however expected to always find a valid index.
Add a check so that we don't try to scroll to a -1 index.
Diffstat (limited to 'aerc.go')
0 files changed, 0 insertions, 0 deletions