I was executing save-as to '.db' command many times and for the safety 
reasons I have always chosen /tmp/test.db /tmp/test1.db ... filenames. 
Before executing my code Leo was writing external files and complaining 
about overwriting existing files and/or non-existing folders. That was a 
bit annoyance and I have disabled writing external files when saving to 
sqlite db. If you make change in the node that belongs to external file, 
that node will be preserved in database, but after loading from database it 
gets overwritten by content of the node from external file which was not 
changed. Try making changes in nodes outside external files or enable 
writing external files in   fc.write_Leo_file:


if (not g.SQLITE) and not outlineOnlyFlag or toOPML:

        g.app.recentFilesManager.writeRecentFilesFile(c)

        fc.writeAllAtFileNodesHelper() # Ignore any errors.



Next I am going to make database restore window position and size after 
loading.
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.

Reply via email to