client: Reset last selected folder when leaving search

Fix #1063
This commit is contained in:
Cédric Bellegarde 2023-08-23 15:15:08 +02:00 committed by Niels De Graef
parent e8d0a2c4fa
commit 88a31454d8

View file

@ -1069,9 +1069,10 @@ public class Application.MainWindow :
} }
} }
this.previous_non_search_folder = null;
if (to_select != null) { if (to_select != null) {
this.select_folder.begin( this.select_folder.begin(
this.previous_non_search_folder, is_interactive to_select, is_interactive
); );
} else { } else {
select_first_inbox(is_interactive); select_first_inbox(is_interactive);