1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Began working on open document functionality (still incomplete), fixed a nested conditional parsing bug in the parser, and fixed segfault-on-codegen-from-empty-tree bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26609 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-06 03:35:40 +00:00
parent 5619b4f6cf
commit f3491e97d0
6 changed files with 35 additions and 11 deletions

View file

@ -49,7 +49,10 @@ ParseTreeModel::~ParseTreeModel()
QString ParseTreeModel::genCode()
{
return root->genCode();
if(root)
return root->genCode();
else
return "";
}
bool ParseTreeModel::changeTree(const char *document)