mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
CHANGED: #1471 Apparently when parsing variables, the parser changes the parsed entry, so better to re-read it from the XML-tree when caching.
--HG-- branch : gsoc2012-gui-editor
This commit is contained in:
parent
91368514b6
commit
d23b17f8a0
1 changed files with 4 additions and 1 deletions
|
@ -1125,7 +1125,10 @@ namespace NLGUI
|
||||||
{
|
{
|
||||||
VariableData data;
|
VariableData data;
|
||||||
|
|
||||||
data.entry = entry;
|
ptr = xmlGetProp( cur, BAD_CAST "entry" );
|
||||||
|
if( ptr != NULL )
|
||||||
|
data.entry = std::string( ptr );
|
||||||
|
|
||||||
data.type = type;
|
data.type = type;
|
||||||
|
|
||||||
ptr = xmlGetProp( cur, BAD_CAST "value" );
|
ptr = xmlGetProp( cur, BAD_CAST "value" );
|
||||||
|
|
Loading…
Reference in a new issue