mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8526 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ddbb6b44a2
commit
d1272e958e
@ -531,6 +531,7 @@ gnc_commodity_table_set_table(GNCBook *book, gnc_commodity_table *ct)
|
||||
if (!book) return;
|
||||
|
||||
old_ct = gnc_commodity_table_get_table (book);
|
||||
if (old_ct == ct) return;
|
||||
gnc_book_set_data (book, GNC_COMMODITY_TABLE, ct);
|
||||
gnc_commodity_table_destroy (old_ct);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user