From fa41e36efa52088cd6232e47c1da5a74f2a58bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= Date: Wed, 4 Oct 2023 19:00:33 +0200 Subject: [PATCH] client: Navigate forward when opening a message Fix #1558 --- src/client/application/application-main-window.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/application/application-main-window.vala b/src/client/application/application-main-window.vala index b33ff6c8..05cba73a 100644 --- a/src/client/application/application-main-window.vala +++ b/src/client/application/application-main-window.vala @@ -867,6 +867,7 @@ public class Application.MainWindow : // The folder may have changed again by the type the async // call returns, so only continue if still current if (this.selected_folder == location) { + navigate_next_pane(); // Since conversation ids don't persist between // conversation monitor instances, need to load // conversations based on their messages. @@ -901,6 +902,7 @@ public class Application.MainWindow : if (this.selected_folder == location) { var loaded = yield load_conversations_for_email(location, to_show); + navigate_next_pane(); if (loaded.size == 1) { // A single conversation was loaded, so ensure we // scroll to the email in the conversation.