I am not sure that this is a good idea. After createFirstTreeNode returns, the outline contains two different vnodes with the same gnx == 'hidden-root-vnode-gnx'. Some scripts might be broken by this. I am sure that I always assumed that 'hidden-root-vnode-gnx' is the gnx of c.hiddenRootNode. Now, with the proposed fix, there will be a vnode with this same gnx and yet it is not c.hiddenRootNode.
If giving the fixed gnx to this first created vnode is the solution for the bug, I suggesst that you use another constant for gnx, not the one reserved for the c.hiddenRootNode. 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/52109b63-a19d-45b4-8ddf-68507a3e7c2b%40googlegroups.com.
