From a94701ffc70644c77332c15608d29f2ac348ec23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= Date: Sat, 22 Jul 2023 14:21:44 +0200 Subject: [PATCH] client: Do not update selection if current not removed --- src/client/conversation-list/conversation-list-view.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/conversation-list/conversation-list-view.vala b/src/client/conversation-list/conversation-list-view.vala index ad6ec7f1..cc39ed95 100644 --- a/src/client/conversation-list/conversation-list-view.vala +++ b/src/client/conversation-list/conversation-list-view.vala @@ -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(); } }