Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88
authorJorg K <jorgk@jorgk.com>
Fri, 11 Jan 2019 09:50:24 +0100
changeset 34162 0c6c2007dfae49051206ba3e52a1fbf14f89d608
parent 34161 53838da2d1516a9d69c298659936e6393386afa2
child 34163 389458d074704c6ce013eab6ab506c998c7b691d
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersalta88
bugs1519044, 1466782
Bug 1519044 - Bug 1466782 follow-up: fix incorrect 'unread column' name. r=alta88
mailnews/base/src/nsMsgDBView.cpp
--- a/mailnews/base/src/nsMsgDBView.cpp
+++ b/mailnews/base/src/nsMsgDBView.cpp
@@ -1969,17 +1969,17 @@ nsMsgDBView::GetCellValue(int32_t aRow,
                             u"messageExpanded" :
                             u"messageCollapsed"));
             aValue.Assign(tmp_str);
           }
         }
       }
       break;
     case 'u':
-      if (colID.EqualsLiteral("unreadCol") &&
+      if (colID.EqualsLiteral("unreadButtonColHeader") &&
           !(flags & nsMsgMessageFlags::Read))
       {
         nsString tmp_str;
         tmp_str.Adopt(GetString(u"messageUnread"));
         aValue.Assign(tmp_str);
       }
       break;
     default: