Fixed: Crash when <select> element was without <form>
--HG-- branch : develop
This commit is contained in:
parent
e9a54a310e
commit
83bd0ffe38
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