commit 8d7751e7ee2b6d70361de610a891b7d9a86fc524
parent fc1bfbac75086ae50b770116d16810074fec7b13
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Tue, 16 Oct 2018 18:16:02 +0200
In summary_key_pressed(), do not try to reopen the same message if cursor does not change.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/summaryview.c b/src/summaryview.c
@@ -7007,7 +7007,8 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
break;
}
- if (next) {
+ if (next != NULL &&
+ next != gtk_cmctree_node_nth(ctree, GTK_CMCLIST(ctree)->focus_row)) {
gtk_sctree_select_with_state
(GTK_SCTREE(ctree), next, (event->state & ~GDK_CONTROL_MASK) );