mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Ensure that cell is pointed to the right cell when retrieving the price
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23758 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5831e17771
commit
d8bb1ff2dd
@ -2244,6 +2244,8 @@ gnc_split_register_auto_calc (SplitRegister *reg, Split *split)
|
||||
|
||||
if (price_changed)
|
||||
{
|
||||
cell = (PriceCell *) gnc_table_layout_get_cell (reg->table->layout,
|
||||
PRIC_CELL);
|
||||
price = gnc_price_cell_get_value (cell);
|
||||
record_price (reg, account, price);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user