Bug 797896 - [HBCI] crash when downloading transactions

Initialize the match list like OFX importer.
This commit is contained in:
John Ralls 2020-09-13 15:41:48 -07:00
parent d2af5d703b
commit d4fe584120

View File

@ -1244,6 +1244,9 @@ gnc_ab_import_context(AB_IMEXPORTER_CONTEXT *context,
AB_ImExporterAccountInfo_List_ForEach(ab_ail, txn_accountinfo_cb,
data);
/* populate and display the matching window */
gnc_gen_trans_list_show_all(data->generic_importer);
/* Check balances */
if (!(awaiting & IGNORE_BALANCES))
AB_ImExporterAccountInfo_List_ForEach(ab_ail, bal_accountinfo_cb,
@ -1254,6 +1257,9 @@ gnc_ab_import_context(AB_IMEXPORTER_CONTEXT *context,
AB_ImExporterContext_AccountInfoForEach(context, txn_accountinfo_cb,
data);
/* populate and display the matching window */
gnc_gen_trans_list_show_all(data->generic_importer);
/* Check balances */
if (!(awaiting & IGNORE_BALANCES))
AB_ImExporterContext_AccountInfoForEach(context, bal_accountinfo_cb,