Suppress other register's blank transactions from General Ledger

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23585 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2013-12-20 00:44:51 +00:00
parent 21e0e19f34
commit e90a0c00ba

View File

@ -499,6 +499,13 @@ gnc_split_register_load (SplitRegister *reg, GList * slist,
if (pending_trans == trans)
found_pending = TRUE;
/* If the transaction has only one split, and it's not our
* pending_trans, then it's another register's blank split and
* we don't want to see it.
*/
else if (xaccTransCountSplits (trans) < 2)
continue;
/* Do not load splits from the blank transaction. */
if (trans == blank_trans)