зеркало из https://github.com/mozilla/gecko-dev.git
Disable notifications during construction of select container
This commit is contained in:
Родитель
20076b8898
Коммит
558164bb1a
|
@ -633,7 +633,7 @@ void HACK(nsSelect* aSel, PRInt32 aIndex)
|
||||||
sprintf(&buf[0], "option %d", i);
|
sprintf(&buf[0], "option %d", i);
|
||||||
nsString label(&buf[0]);
|
nsString label(&buf[0]);
|
||||||
option->SetContent(label);
|
option->SetContent(label);
|
||||||
aSel->AppendChild(option);
|
aSel->AppendChild(option, PR_FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче