Revision 3306 src/summaryview.c

View differences:

summaryview.c
4460 4460
	FolderSortType sort_type = SORT_ASCENDING;
4461 4461
	MsgInfo *selected_msg, *displayed_msg;
4462 4462

  
4463
	if (!summaryview->folder_item)
4464
		return;
4465

  
4463 4466
	summary_lock(summaryview);
4464 4467

  
4465 4468
	debug_print(_("Unthreading..."));
......
4474 4477
	displayed_msg = summary_get_msginfo
4475 4478
		(summaryview, summaryview->displayed);
4476 4479

  
4477
	if (summaryview->folder_item)
4478
		summaryview->folder_item->threaded = FALSE;
4480
	summaryview->folder_item->threaded = FALSE;
4479 4481

  
4480 4482
	if (summaryview->folder_item->sort_key != SORT_BY_NONE) {
4481 4483
		sort_key = summaryview->folder_item->sort_key;

Also available in: Unified diff