fix a bug after "check for new messages"; remove unnecessary check
[claws.git] / src / mainwindow.c
index 4990cdc8ed81b28a630157633b7c1cc4e16fad51..076640f4350d5a8e770500d5e1a510d73f311173 100644 (file)
@@ -3564,8 +3564,7 @@ static void key_pressed (GtkWidget *widget, GdkEventKey *event,   gpointer data)
                app_exit_cb(mainwin, 0, NULL);
                return;
        case GDK_space:
-               if (mainwin->folderview && mainwin->summaryview 
-                   && !mainwin->folderview->opened) {
+               if (mainwin->folderview && mainwin->summaryview ) {
                        summary_lock(mainwin->summaryview);
                        folderview_select_next_unread(mainwin->folderview);
                        summary_unlock(mainwin->summaryview);