Derek Atkins writes:
> The more I delve into this, the more I find.  What's going on is that
> the register winds up calling SplitLedger.c:LedgerTraverse().  It
> winds up, at the bottom of the function, following the path of
> GNC_VERIFY_NO.  For some reason this never winds up calling
> RollbackEdit(), as far as I can tell.
> 
> Anyways, the 'No' path winds up breaking out and returning 'FALSE',
> which is the same thing that 'Yes' returns.

Yes but first the 'No' path calls xaccSRCancelCursorTransChanges
which may call xaccTransRollbackEdit if needed. Note that a rollback
is not always needed. The register doesn't actually change the
transaction unless you record or edit multiple lines. Is that
the case here?

dave
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to