When selectedIndex is set, make sure to display the corresponding text in the
display area. Bug 330554, r+sr=mats, a=dbaron git-svn-id: svn://10.0.0.236/trunk@232493 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -916,6 +916,8 @@ nsComboboxControlFrame::GetOptionSelected(PRInt32 aIndex, PRBool* aValue)
|
||||
NS_IMETHODIMP
|
||||
nsComboboxControlFrame::OnSetSelectedIndex(PRInt32 aOldIndex, PRInt32 aNewIndex)
|
||||
{
|
||||
RedisplayText(aNewIndex);
|
||||
|
||||
nsISelectControlFrame* listFrame = nsnull;
|
||||
NS_ASSERTION(mDropdownFrame, "No dropdown frame!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user