mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Only test for linked document glyths once per register
Change the function gnc_split_register_load to run the test for glyths only on first pass.
This commit is contained in:
parent
4741ee355b
commit
b85afa790f
@ -422,8 +422,12 @@ gnc_split_register_load (SplitRegister* reg, GList* slist,
|
|||||||
((PriceCell*) gnc_table_layout_get_cell (reg->table->layout, PRIC_CELL),
|
((PriceCell*) gnc_table_layout_get_cell (reg->table->layout, PRIC_CELL),
|
||||||
gnc_commodity_print_info (account_comm, FALSE));
|
gnc_commodity_print_info (account_comm, FALSE));
|
||||||
|
|
||||||
gnc_doclink_cell_set_use_glyphs
|
/* Only test for linked document glyths once */
|
||||||
((Doclinkcell *) gnc_table_layout_get_cell (table->layout, DOCLINK_CELL));
|
if (info->first_pass)
|
||||||
|
{
|
||||||
|
gnc_doclink_cell_set_use_glyphs
|
||||||
|
((Doclinkcell *) gnc_table_layout_get_cell (table->layout, DOCLINK_CELL));
|
||||||
|
}
|
||||||
|
|
||||||
/* make sure we have a blank split */
|
/* make sure we have a blank split */
|
||||||
if (blank_split == NULL)
|
if (blank_split == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user