client: Do not update selection if current not removed

This commit is contained in:
Cédric Bellegarde 2023-07-22 14:21:44 +02:00
parent 4a232d4a08
commit a94701ffc7

View file

@ -564,7 +564,8 @@ public class ConversationList.View : Gtk.ScrolledWindow, Geary.BaseInterface {
} else if (this.selection_mode_enabled) {
this.selection_mode_enabled = false;
// Set next conversation
} else if (this.config.autoselect) {
} else if (this.config.autoselect &&
this.list.get_selected_rows().length() == 0) {
restore_row();
}
}