mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Fixed: Crash when <select> element was without <form>
This commit is contained in:
parent
8247727acb
commit
92b01796a0
1 changed files with 1 additions and 0 deletions
|
@ -2444,6 +2444,7 @@ namespace NLGUI
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case HTML_OPTION:
|
case HTML_OPTION:
|
||||||
|
if (!(_Forms.empty()) && !(_Forms.back().Entries.empty()))
|
||||||
{
|
{
|
||||||
// insert the parsed text into the select control
|
// insert the parsed text into the select control
|
||||||
CDBGroupComboBox *cb = _Forms.back().Entries.back().ComboBox;
|
CDBGroupComboBox *cb = _Forms.back().Entries.back().ComboBox;
|
||||||
|
|
Loading…
Reference in a new issue