git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@943 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-08 02:40:15 +00:00
parent 68540f3436
commit 6b3d2db21b

View File

@ -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;