GNOME Bugzilla – Bug 412442
Register shows negative amounts in red when it shouldn't
Last modified: 2018-06-29 21:28:05 UTC
If the "Display negative amounts in red" option is off when GnuCash starts up, registers still show negative amounts in red until the option is changed. To see what I mean, run GnuCash, turn this option off, and exit GnuCash. Then start it up again and (without touching the preferences dialog) open a register for an account that has negative balances. The negative balances will be red even though the option is off. The problem is that the one time initialization code in split-register-model.c fails to get the current value for KEY_NEGATIVE_IN_RED when it registers the call back for changes in this key. I'll attach a patch to fix this.
Created attachment 83432 [details] [review] Patch to get the initial value of the negative is red option
trunk/@15671. Thanks for the patch!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=412442. Please update any external references or bookmarks.