mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-13 06:25:03 -05:00
Bug #341362: Stock splits: Prevent fractional prices by forcing conversion to decimal. (I used the same fraction setting as the price editor.)
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17407 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -658,6 +658,7 @@ gnc_stock_split_druid_create (StockSplitInfo *info)
|
||||
gnc_amount_edit_set_print_info (GNC_AMOUNT_EDIT (amount),
|
||||
gnc_default_price_print_info ());
|
||||
gnc_amount_edit_set_evaluate_on_enter (GNC_AMOUNT_EDIT (amount), TRUE);
|
||||
gnc_amount_edit_set_fraction (GNC_AMOUNT_EDIT (amount), 1000000);
|
||||
gtk_box_pack_start (GTK_BOX (box), amount, TRUE, TRUE, 0);
|
||||
info->price_edit = amount;
|
||||
label = glade_xml_get_widget (xml, "price_label");
|
||||
|
||||
Reference in New Issue
Block a user