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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user