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@951 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a6879c29f7
commit
6312a46216
@ -458,6 +458,14 @@ void xaccInitSplitRegister (SplitRegister *reg, int type)
|
||||
reg->creditCell->blank_zero = 1;
|
||||
reg->valueCell->blank_zero = 1;
|
||||
|
||||
/* ok, now make sure the initail value of 0.0 is blanked.
|
||||
* if this is not done, then various oddball situations
|
||||
* will show the non-blanked values.
|
||||
*/
|
||||
xaccSetPriceCellValue (reg->debitCell, 0.0);
|
||||
xaccSetPriceCellValue (reg->creditCell, 0.0);
|
||||
xaccSetPriceCellValue (reg->valueCell, 0.0);
|
||||
|
||||
/* -------------------------------- */
|
||||
/* define how traversal works */
|
||||
configTraverse (reg);
|
||||
|
Loading…
Reference in New Issue
Block a user