mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 13:39:43 -06:00
Bug 798496 - gncEntry Quantity and Discount are misusing commodity scu
This commit is contained in:
parent
c8f1caa95f
commit
ebbf7565c9
@ -265,22 +265,6 @@ gnc_entry_ledger_config_cells (GncEntryLedger *ledger)
|
||||
((ComboCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_ACTN_CELL), FALSE);
|
||||
|
||||
/* Use GNC_COMMODITY_MAX_FRACTION for all prices and quantities */
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_PRIC_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *)
|
||||
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_DISC_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
gnc_price_cell_set_fraction
|
||||
((PriceCell *) gnc_table_layout_get_cell (ledger->table->layout,
|
||||
ENTRY_QTY_CELL),
|
||||
GNC_COMMODITY_MAX_FRACTION);
|
||||
|
||||
/* add menu items for the action and payment cells */
|
||||
gnc_entry_ledger_config_action (ledger);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user