gnucash maint: Make the price database list obey the force-prices-to-decimal preference.
John Ralls
jralls at code.gnucash.org
Sun Oct 18 14:34:20 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/e255a7bf (commit)
from https://github.com/Gnucash/gnucash/commit/190d5f1a (commit)
commit e255a7bfe2f3d945b17a348a002e4380a35c7301
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Oct 18 10:58:42 2020 -0700
Make the price database list obey the force-prices-to-decimal preference.
It was always displaying decimals regardless of the preference value.
diff --git a/gnucash/gnome-utils/gnc-tree-model-price.c b/gnucash/gnome-utils/gnc-tree-model-price.c
index 55311c7ed..bca5f3067 100644
--- a/gnucash/gnome-utils/gnc-tree-model-price.c
+++ b/gnucash/gnome-utils/gnc-tree-model-price.c
@@ -164,7 +164,7 @@ gnc_tree_model_price_init (GncTreeModelPrice *model)
}
priv = GNC_TREE_MODEL_PRICE_GET_PRIVATE(model);
- priv->print_info = gnc_share_print_info_places(6);
+ priv->print_info = gnc_default_price_print_info(NULL);
}
static void
Summary of changes:
gnucash/gnome-utils/gnc-tree-model-price.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list