r16454 - gnucash/branches/register-rewrite/src/gnome-utils - Allow editing debit and credit of the blank split by removing an old assertion.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Aug 18 21:21:11 EDT 2007


Author: andi5
Date: 2007-08-18 21:21:10 -0400 (Sat, 18 Aug 2007)
New Revision: 16454
Trac: http://svn.gnucash.org/trac/changeset/16454

Modified:
   gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c
Log:
Allow editing debit and credit of the blank split by removing an old assertion.


Modified: gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c
===================================================================
--- gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c	2007-08-19 01:17:18 UTC (rev 16453)
+++ gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c	2007-08-19 01:21:10 UTC (rev 16454)
@@ -1099,11 +1099,11 @@
         acct = xaccSplitGetAccount(split);
         if (!acct) {
             if (anchor) {
-                g_assert_not_reached();
                 xaccSplitSetAccount(split, anchor);
                 acct = xaccSplitGetAccount(split);
-            } else
+            } else {
                 break; //Well, what else is there to do?
+            }
         }
 
         if (viewcol == COL_CREDIT)



More information about the gnucash-changes mailing list