>
> Anyway, LeoTreeModel should check if the gnxes are different and insert
> node accordingly.
>
> Done. I have added method changeGnx(oldgnx, newgnx) to LeoTreeModel and
loading external files now checks to see if the gnx in xml and in external
files match or not. If not, gnx from the external file is used.
After this change, in test_data_model.py following check passes:
ltm2 = loadLeoFull(os.path.join(LEOCORE, 'leoPy.leo'))
test_tree_is_correct(ltm2)
print('leoPy.leo loaded properly')
Vitalije
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.