mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug#412442: initialize "display negative amounts in red" option correctly. Patch from Mike Alexander <mta@umich.edu>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15671 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b0d1f0d6a6
commit
d8c63c8419
@ -1902,6 +1902,10 @@ gnc_split_register_model_add_hooks (gpointer unused)
|
||||
gnc_gconf_general_register_cb(KEY_NEGATIVE_IN_RED,
|
||||
gnc_split_register_colorize_negative,
|
||||
NULL);
|
||||
/* Get the initial value */
|
||||
use_red_for_negative = gnc_gconf_get_bool(GCONF_GENERAL,
|
||||
KEY_NEGATIVE_IN_RED,
|
||||
NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user