Removed unneded setting of index to kNothingSelected when an disabled option is selected

r=blake, sr=buster Bug 57580
This commit is contained in:
rods%netscape.com 2000-12-18 21:36:01 +00:00
parent 2c971746c9
commit 6db44af9f6
2 changed files with 0 additions and 2 deletions

View File

@ -2895,7 +2895,6 @@ nsListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent)
mButtonDown = PR_FALSE;
CaptureMouseEvents(mPresContext, PR_FALSE);
SetContentSelected(mSelectedIndex, PR_FALSE);
mSelectedIndex = kNothingSelected;
return NS_OK;
}
}

View File

@ -2895,7 +2895,6 @@ nsListControlFrame::MouseUp(nsIDOMEvent* aMouseEvent)
mButtonDown = PR_FALSE;
CaptureMouseEvents(mPresContext, PR_FALSE);
SetContentSelected(mSelectedIndex, PR_FALSE);
mSelectedIndex = kNothingSelected;
return NS_OK;
}
}