Do not process folder marks when just refreshing summaryview.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 5 Nov 2016 10:09:59 +0000 (11:09 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 5 Nov 2016 10:09:59 +0000 (11:09 +0100)
src/summaryview.c

index e924a3a..d80f4d3 100644 (file)
@@ -1269,8 +1269,9 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
        }
 
        /* process the marks if any */
-       if (summaryview->mainwin->lock_count == 0 &&
-           (summaryview->moved > 0 || summaryview->copied > 0)) {
+       if (!is_refresh &&
+                       (summaryview->mainwin->lock_count == 0 &&
+                        (summaryview->moved > 0 || summaryview->copied > 0))) {
                AlertValue val;
                gboolean changed = FALSE;