Check in fix for hyatt. Don't crash when closing a window after onchange

has been called.


git-svn-id: svn://10.0.0.236/trunk@34252 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
putterman%netscape.com
1999-06-08 21:04:02 +00:00
parent e8100f1ad2
commit 832e50712e

View File

@@ -177,11 +177,11 @@ nsTreeFrame::RemoveFromSelection(nsIPresContext& aPresContext, nsTreeCellFrame*
nsTreeCellFrame* theFrame = (nsTreeCellFrame*)mSelectedItems[i];
if (theFrame == frame) {
mSelectedItems.RemoveElementAt(i);
break;
FireChangeHandler(aPresContext);
return;
}
}
FireChangeHandler(aPresContext);
}
void nsTreeFrame::MoveUp(nsIPresContext& aPresContext, nsTreeCellFrame* pFrame)