Stop duplicate entries for the invoice taxtable cell

When the ledger is loaded, the list for the taxtable combo is created
but as the item_list gui is not initialised yet a temporary list store
is used. This is done twice and hence end up with duplicate entries. To
fix this add the missing gtk_list_store_clear to
gnc_combo_cell_clear_menu to clear the temporary list store when the
item_list is not initialised.
This commit is contained in:
Robert Fewell 2019-08-29 11:29:23 +01:00
parent 2bcb9bb1a5
commit d4379644c2

View File

@ -381,6 +381,8 @@ gnc_combo_cell_clear_menu (ComboCell * cell)
unblock_list_signals (cell); unblock_list_signals (cell);
} }
else
gtk_list_store_clear (box->tmp_store);
} }
void void