[patch 8/8] Bits to let the register see the in-progress Transaction edit.

c.shoemaker at cox.net c.shoemaker at cox.net
Thu Mar 2 00:08:17 EST 2006


   Bits to let the register see the in-progress Transaction edit.
---
 src/register/ledger-core/split-register-load.c |    2 ++
 1 files changed, 2 insertions(+)

Index: trunk/src/register/ledger-core/split-register-load.c
===================================================================
--- trunk.orig/src/register/ledger-core/split-register-load.c
+++ trunk/src/register/ledger-core/split-register-load.c
@@ -105,6 +105,7 @@ gnc_split_register_add_transaction (Spli
     {
       Split *secondary = node->data;
 
+      if (!xaccTransStillHasSplit(trans, secondary)) continue;
       if (secondary == find_split && find_class == CURSOR_CLASS_SPLIT)
         *new_split_row = vcell_loc->virt_row;
 
@@ -340,6 +341,7 @@ gnc_split_register_load (SplitRegister *
     for (splits = xaccTransGetSplitList(pending_trans); splits; splits = splits->next)
     {
       Split *pending_split = (Split*)splits->data;
+      if (!xaccTransStillHasSplit(pending_trans, pending_split)) continue;
       if (g_list_find(slist, pending_split) != NULL)
         continue;
 

--


More information about the gnucash-devel mailing list