[Commits] [SCM] claws branch, master, updated. 3.18.0-45-g68670c2d8

wwp at claws-mail.org wwp at claws-mail.org
Tue Aug 31 20:36:20 UTC 2021


The branch, master has been updated
       via  68670c2d821218d4a04e06d479ae4e6beeabc0e4 (commit)
      from  fee7fd3be667169a99107f78c7d9860ff17184fd (commit)

Summary of changes:
 src/summaryview.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)


- Log -----------------------------------------------------------------
commit 68670c2d821218d4a04e06d479ae4e6beeabc0e4
Author: wwp <subscript at free.fr>
Date:   Tue Aug 31 22:33:19 2021 +0200

    Fix wrong logic, (old) patch by Olivier Brunel.

diff --git a/src/summaryview.c b/src/summaryview.c
index 1bbb43ca0..7375c99fa 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1660,16 +1660,9 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item, gboolean avoid
 
 		summary_unlock(summaryview);
 
-		if (node) {
-			gint open_selected = -1;
-			if (!is_refresh) {
-				if (OPEN_SELECTED_ON_FOLDER_OPEN)
-					open_selected = 1;
-				else
-					open_selected = 0;
-			}
-			summary_select_node(summaryview, node, open_selected);
-		}
+		if (node)
+			summary_select_node(summaryview, node,
+					OPEN_SELECTED_ON_FOLDER_OPEN);
 
 		summary_lock(summaryview);
 	}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list