mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug#372262: create the session with the file-creation option enabled.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15496 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
689796bd98
commit
01e6da3fcc
@ -889,7 +889,7 @@ gnc_file_export_file(const char * newfile)
|
||||
/* -- this session code is NOT identical in FileOpen and FileSaveAs -- */
|
||||
|
||||
new_session = qof_session_new ();
|
||||
qof_session_begin (new_session, newfile, FALSE, FALSE);
|
||||
qof_session_begin (new_session, newfile, FALSE, TRUE);
|
||||
|
||||
io_err = qof_session_get_error (new_session);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user