another better fix for bug 2131
authorPaul <paul@claws-mail.org>
Wed, 9 Oct 2019 18:01:36 +0000 (19:01 +0100)
committerPaul <paul@claws-mail.org>
Wed, 9 Oct 2019 18:01:36 +0000 (19:01 +0100)
src/summaryview.c

index fd38e75..c124169 100644 (file)
@@ -2338,7 +2338,7 @@ void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node,
                summary_unlock(summaryview);
 
                /* If quicksearch has focus, let's keep it there. */
-               if (!quicksearch_is_in_typing(summaryview->quicksearch) &&
+               if (!quicksearch_has_focus(summaryview->quicksearch) ||
                    quicksearch_is_running(summaryview->quicksearch))
                        summary_grab_focus(summaryview);