Bug 1299873, typo in nsMsgThreadDBView setting view flags, r=alta88
authorR Kent James <rkent@caspia.com>
Thu, 01 Sep 2016 15:11:18 -0700
changeset 22804 fe75fb786584411f515e6ee9fd95de2a0c471f54
parent 22803 cddb63dcd5cf51f63d01e4c01c551c458765f042
child 22805 f3f22e07b8e8beb02592cd68c83267fe570e59e9
push id1830
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:42:07 +0000
treeherdercomm-aurora@e86ede57183b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersalta88
bugs1299873
Bug 1299873, typo in nsMsgThreadDBView setting view flags, r=alta88
mailnews/base/src/nsMsgThreadedDBView.cpp
--- a/mailnews/base/src/nsMsgThreadedDBView.cpp
+++ b/mailnews/base/src/nsMsgThreadedDBView.cpp
@@ -283,17 +283,17 @@ NS_IMETHODIMP nsMsgThreadedDBView::Sort(
   // need a method to do that.
   if (sortType != m_sortType || !m_sortValid || sortThreads)
   {
     SaveSortInfo(sortType, sortOrder);
     if (sortType == nsMsgViewSortType::byThread)  
     {
       m_sortType = sortType;
       m_viewFlags |= nsMsgViewFlagsType::kThreadedDisplay;
-      m_viewFlags &= nsMsgViewFlagsType::kGroupBySort;
+      m_viewFlags &= ~nsMsgViewFlagsType::kGroupBySort;
       if ( m_havePrevView)
       {
         // restore saved id array and flags array
         m_keys = m_prevKeys;
         m_flags = m_prevFlags;
         m_levels = m_prevLevels;
         m_sortValid = true;