mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[qif/assistant-qif-import.c] gfec_apply requires a list of arguments
* instead of argument, send a list of arguments. * the undo scm function would never run otherwise
This commit is contained in:
parent
8b7093e8d0
commit
1873c2f705
@ -1111,7 +1111,8 @@ gnc_ui_qif_import_convert_undo (QIFImportWindow * wind)
|
|||||||
|
|
||||||
/* Undo the conversion. */
|
/* Undo the conversion. */
|
||||||
if (wind->imported_account_tree != SCM_BOOL_F)
|
if (wind->imported_account_tree != SCM_BOOL_F)
|
||||||
gfec_apply (undo, wind->imported_account_tree, _gfec_error_handler);
|
gfec_apply (undo, scm_list_1 (wind->imported_account_tree),
|
||||||
|
_gfec_error_handler);
|
||||||
|
|
||||||
/* There's no imported account tree any more. */
|
/* There's no imported account tree any more. */
|
||||||
scm_gc_unprotect_object (wind->imported_account_tree);
|
scm_gc_unprotect_object (wind->imported_account_tree);
|
||||||
|
Loading…
Reference in New Issue
Block a user