Make the price database list obey the force-prices-to-decimal preference.

It was always displaying decimals regardless of the preference value.
This commit is contained in:
John Ralls 2020-10-18 10:58:42 -07:00
parent 190d5f1a61
commit e255a7bfe2

View File

@ -164,7 +164,7 @@ gnc_tree_model_price_init (GncTreeModelPrice *model)
} }
priv = GNC_TREE_MODEL_PRICE_GET_PRIVATE(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 static void