talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit afd6c99509d5a7dda27cecb0101aba3113be5c21
parent 0b709277aa6ef5047b8956bfd20fda6320e795c4
Author: Paul <paul@claws-mail.org>
Date:   Thu,  3 Oct 2019 10:30:04 +0100

beter fix for bug 2131, 3982d3e615ab83b8da70617df46be2cf52ed1cc5

Maintain the previous behaviour of focus switching to the summaryview
when a quicksearch has been executed

Diffstat:
Msrc/summaryview.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/summaryview.c b/src/summaryview.c @@ -2338,7 +2338,8 @@ void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node, summary_unlock(summaryview); /* If quicksearch has focus, let's keep it there. */ - if (!quicksearch_has_focus(summaryview->quicksearch)) + if (!quicksearch_is_in_typing(summaryview->quicksearch) && + quicksearch_is_running(summaryview->quicksearch)) summary_grab_focus(summaryview); gtkut_ctree_node_move_if_on_the_edge(ctree, node, -1);