Remove gnc_book_mark_saved from gnc_sql_save_book. It's a bit premature to mark the book as saved when we haven't yet saved its contents.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19688 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2010-10-20 03:40:07 +00:00
parent c215ae417f
commit c630a2c7d5

View File

@ -222,8 +222,6 @@ gnc_sql_save_book( GncSqlBackend* be, QofInstance* inst)
status = gnc_sql_commit_standard_item( be, inst, BOOK_TABLE, GNC_ID_BOOK, col_table ); status = gnc_sql_commit_standard_item( be, inst, BOOK_TABLE, GNC_ID_BOOK, col_table );
qof_book_mark_saved( QOF_BOOK(inst) );
return status; return status;
} }