Fixed: Crash when <select> element was without <form>

--HG--
branch : develop
This commit is contained in:
Nimetu 2016-11-13 23:06:35 +02:00
parent e9a54a310e
commit 83bd0ffe38

View file

@ -2444,6 +2444,7 @@ namespace NLGUI
}
break;
case HTML_OPTION:
if (!(_Forms.empty()) && !(_Forms.back().Entries.empty()))
{
// insert the parsed text into the select control
CDBGroupComboBox *cb = _Forms.back().Entries.back().ComboBox;