fixing bug 114956 - Crashed on OK to prefs changing all labels text. r=bienvenu, sr=sspitzer, a=asa

This commit is contained in:
ssu%netscape.com 2001-12-14 02:52:55 +00:00
Родитель cdb788eaa8
Коммит 4b4588d9a7
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -342,6 +342,8 @@ NS_IMETHODIMP nsMsgDBView::Observe(nsISupports *aSubject, const char *aTopic, co
if(matchFound) {
NS_ENSURE_SUCCESS(rv,rv);
NS_ASSERTION(mOutliner, "no outliner, see bug #114956");
if(mOutliner)
mOutliner->Invalidate();
}
}
@ -1759,6 +1761,8 @@ NS_IMETHODIMP nsMsgDBView::DoCommand(nsMsgViewCommandTypeValue command)
if (!mIsSearchView) //ignore for search view
{
rv = ExpandAll();
NS_ASSERTION(mOutliner, "no outliner, see bug #114956");
if(mOutliner)
mOutliner->Invalidate();
}
break;
@ -1766,6 +1770,8 @@ NS_IMETHODIMP nsMsgDBView::DoCommand(nsMsgViewCommandTypeValue command)
if (!mIsSearchView) //ignore for search view
{
rv = CollapseAll();
NS_ASSERTION(mOutliner, "no outliner, see bug #114956");
if(mOutliner)
mOutliner->Invalidate();
}
break;