mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@943 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
68540f3436
commit
6b3d2db21b
@ -446,8 +446,12 @@ void xaccInitSplitRegister (SplitRegister *reg, int type)
|
||||
/* do some misc cell config */
|
||||
|
||||
/* balance cell does not accept input; its display only. */
|
||||
reg->recsCell->input_output = XACC_CELL_ALLOW_NONE;
|
||||
reg->balanceCell->cell.input_output = XACC_CELL_ALLOW_NONE;
|
||||
/* however, we *do* want it to shadow the true cell contents when
|
||||
* the cursor is repositioned. Othewise, it will just display
|
||||
* whatever previous bogus value it contained.
|
||||
*/
|
||||
reg->recsCell->input_output = XACC_CELL_ALLOW_SHADOW;
|
||||
reg->balanceCell->cell.input_output = XACC_CELL_ALLOW_SHADOW;
|
||||
|
||||
/* the debit/credit/value cells show blank if value is 0.00 */
|
||||
reg->debitCell->blank_zero = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user