fix SHIFT+SPACE in msg list, moving in reverse
authorPaul <paul@claws-mail.org>
Wed, 11 Dec 2019 18:48:40 +0000 (18:48 +0000)
committerPaul <paul@claws-mail.org>
Wed, 11 Dec 2019 18:48:40 +0000 (18:48 +0000)
src/summaryview.c

index 304f72b..f63373a 100644 (file)
@@ -7019,12 +7019,11 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
                        }
                        if (event->state & GDK_SHIFT_MASK) 
                                mimeview_scroll_page(messageview->mimeview, TRUE);
-                       else {
-                               if (summaryview->displayed != summaryview->selected) {
+                       if (summaryview->displayed != summaryview->selected) {
                                        summary_display_msg(summaryview,
                                                            summaryview->selected);
                                        break;
-                               }
+                       } else {
                                if (mod_pressed) {
                                        if (!mimeview_scroll_page(messageview->mimeview, TRUE))
                                                summary_select_prev_unread(summaryview);