* src/register/ledger-core/split-register-module.c: only set ReadOnly

status for Invoices, not Payments.  Fixes #105032


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7915 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-02-02 04:28:43 +00:00
parent fd7b3ae56e
commit ef64db1406
2 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,9 @@
* accounts/C/acctchrt_business.gnucash-xea: fix some of the accounts
in the tree to be more accurate to the real world.
* src/register/ledger-core/split-register-module.c: only set ReadOnly
status for Invoices, not Payments. Fixes #105032
2003-02-01 Derek Atkins <derek@ihtfp.com>

View File

@ -1558,7 +1558,7 @@ gnc_split_register_cursor_is_readonly (VirtualLocation virt_loc,
if (!txn) return FALSE;
type = xaccTransGetTxnType (txn);
return (type != TXN_TYPE_NONE);
return (type == TXN_TYPE_INVOICE);
}
static CellIOFlags