aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index be7e4ac5..a2b0fa1e 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2932,13 +2932,10 @@ static void thread_cb(MainWindow *mainwin, guint action, GtkWidget *widget)
if (mainwin->menu_lock_count) return;
if (!mainwin->summaryview->folder_item) return;
- if (GTK_CHECK_MENU_ITEM(widget)->active) {
- mainwin->summaryview->folder_item->threaded = TRUE;
+ if (GTK_CHECK_MENU_ITEM(widget)->active)
summary_thread_build(mainwin->summaryview);
- } else {
- mainwin->summaryview->folder_item->threaded = FALSE;
+ else
summary_unthread(mainwin->summaryview);
- }
}
static void expand_threads_cb(MainWindow *mainwin, guint action,