diff options
author | Reto Brunner <reto@labrat.space> | 2020-09-08 07:46:21 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-09-08 07:48:55 +0200 |
commit | fe42beb3e4ac00f07884880b7a6251c59fd04230 (patch) | |
tree | d2e5ab76fca265497819ba02a60e4ae7c559cad3 /commands/account | |
parent | 6ddd347b06e840f064106a8181ae570e2d33d395 (diff) | |
download | aerc-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 'commands/account')
0 files changed, 0 insertions, 0 deletions