AUDIT: r15004 - gnucash/trunk/src/register/ledger-core - This fixes a bug in r14495. The bug is that auto-completed transactions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AUDIT: r15004 - gnucash/trunk/src/register/ledger-core - This fixes a bug in r14495. The bug is that auto-completed transactions

Chris Shoemaker-2
Author: chris
Date: 2006-10-10 20:57:52 -0400 (Tue, 10 Oct 2006)
New Revision: 15004
Trac: http://svn.gnucash.org/trac/changeset/15004

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-control.c
Log:
This fixes a bug in r14495.  The bug is that auto-completed transactions
aren't correctly marked as pending.  This bug is probably responsible for
the crashes like those in bug #348469.

In general, the register makes it very difficult to consistently
distiguish between beginning to edit a transaction that's being edited
in another register and beginning to edit the blank transaction,
which is already open for editing, but isn't marked pending so that
we can pretend it hasn't been opened if it never gets modified.

Fortunately, the auto-completion code only runs on the blank transaction,
so we can assume it's not being edited in another register.  This patch
goes ahead and marks the blank transaction as pending.
BP



_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches