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

--HG--
branch : develop
feature/pipeline-tools
Nimetu 8 years ago
parent e9a54a310e
commit 83bd0ffe38

@ -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…
Cancel
Save