mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Destroy Transactions without rebalancing when shutting down the book.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13469 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -917,6 +917,7 @@ void xaccDisableDataScrubbing(void) { scrub_data = 0; }
|
||||
/* Check for an implicitly deleted transaction */
|
||||
static gboolean was_trans_emptied(Transaction *trans)
|
||||
{
|
||||
if (qof_book_shutting_down(xaccTransGetBook(trans))) return TRUE;
|
||||
FOR_EACH_SPLIT(trans, return FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user