r14495 - gnucash/trunk/src/register/ledger-core - Avoid crash from opening transaction in more than one register. Bug #347089.
Chris Shoemaker
chris at cvs.gnucash.org
Thu Jul 13 20:57:18 EDT 2006
Author: chris
Date: 2006-07-13 20:57:17 -0400 (Thu, 13 Jul 2006)
New Revision: 14495
Trac: http://svn.gnucash.org/trac/changeset/14495
Modified:
gnucash/trunk/src/register/ledger-core/split-register-control.c
gnucash/trunk/src/register/ledger-core/split-register.c
gnucash/trunk/src/register/ledger-core/split-register.h
Log:
Avoid crash from opening transaction in more than one register. Bug #347089.
In any case where we might be opening the transaction and marking it as the
pending transaction, check first if it's already open. If it is, we assume
that it's being edited by another register. We report the error and abort
the action that would have opened the transaction.
BP
More information about the gnucash-patches
mailing list