mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
scrub the transaction for a currency after we replay. (#143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13283 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6aec7f5a94
commit
6d15e9e2ca
@ -36,6 +36,9 @@
|
||||
* src/import-export/log-replay/gnc-log-replay.c:
|
||||
Don't pass NULL to ferror() (from bug #143720).
|
||||
|
||||
* src/import-export/log-replay/gnc-log-replay.c:
|
||||
scrub the transaction for a currency after we replay. (#143720).
|
||||
|
||||
2006-02-15 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* configure.in: get --disable-gui to actually do what we want.
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "Account.h"
|
||||
#include "Transaction.h"
|
||||
#include "TransactionP.h"
|
||||
#include "Scrub.h"
|
||||
#include "gnc-log-replay.h"
|
||||
#include "gnc-file.h"
|
||||
#include "qof.h"
|
||||
@ -485,6 +486,7 @@ static void process_trans_record( FILE *log_file)
|
||||
DEBUG("process_trans_record(): Record ended\n");
|
||||
if(trans!=NULL)/*If we played with a transaction, commit it here*/
|
||||
{
|
||||
xaccTransScrubCurrencyFromSplits(trans);
|
||||
xaccTransCommitEdit(trans);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user