mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
When selectedIndex is set, make sure to display the corresponding text in the display area. Bug 330554, r+sr=mats, a=dbaron
This commit is contained in:
parent
ddcdc2b80d
commit
93b33bcffa
@ -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!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user