diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-06-26 10:17:20 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-26 10:53:57 +0200 |
commit | dfabb5232875663884d35f7d69b752f0b56ad64b (patch) | |
tree | 2363951318234842e1a0a289b13874c62e3b9bb9 /widgets/dirlist.go | |
parent | 9cbfb190f65eba73e42b034a39de4b4d35fd404c (diff) | |
download | aerc-dfabb5232875663884d35f7d69b752f0b56ad64b.tar.gz |
account: remember folder/message when reconnecting
Remember selected folder and message when reconnecting. This is mostly
useful for the imap backend when logouts or reconnects happen a lot.
Fixes: https://todo.sr.ht/~rjarry/aerc/159
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Tested-by: inwit <inwit@sindominio.net>
Diffstat (limited to 'widgets/dirlist.go')
-rw-r--r-- | widgets/dirlist.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/widgets/dirlist.go b/widgets/dirlist.go index 788e197f..7d427dcc 100644 --- a/widgets/dirlist.go +++ b/widgets/dirlist.go @@ -169,7 +169,6 @@ func (dirlist *DirectoryList) Select(name string) { switch msg.(type) { case *types.Error: dirlist.selecting = "" - dirlist.selected = "" case *types.Done: dirlist.selected = dirlist.selecting dirlist.filterDirsByFoldersConfig() |