r19688 - gnucash/trunk/src/backend/sql - 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.

John Ralls jralls at code.gnucash.org
Tue Oct 19 23:40:07 EDT 2010


Author: jralls
Date: 2010-10-19 23:40:07 -0400 (Tue, 19 Oct 2010)
New Revision: 19688
Trac: http://svn.gnucash.org/trac/changeset/19688

Modified:
   gnucash/trunk/src/backend/sql/gnc-book-sql.c
Log:
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.

Modified: gnucash/trunk/src/backend/sql/gnc-book-sql.c
===================================================================
--- gnucash/trunk/src/backend/sql/gnc-book-sql.c	2010-10-20 03:35:02 UTC (rev 19687)
+++ gnucash/trunk/src/backend/sql/gnc-book-sql.c	2010-10-20 03:40:07 UTC (rev 19688)
@@ -222,8 +222,6 @@
 
     status = gnc_sql_commit_standard_item( be, inst, BOOK_TABLE, GNC_ID_BOOK, col_table );
 
-    qof_book_mark_saved( QOF_BOOK(inst) );
-
     return status;
 }
 



More information about the gnucash-changes mailing list