Skip to content

Commit

Permalink
[qif/assistant-qif-import.c] gfec_apply requires a list of arguments
Browse files Browse the repository at this point in the history
* instead of argument, send a list of arguments.
* the undo scm function would never run otherwise
  • Loading branch information
christopherlam committed Aug 3, 2019
1 parent 8b7093e commit 1873c2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnucash/import-export/qif-imp/assistant-qif-import.c
Expand Up @@ -1111,7 +1111,8 @@ gnc_ui_qif_import_convert_undo (QIFImportWindow * wind)

/* Undo the conversion. */
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. */
scm_gc_unprotect_object (wind->imported_account_tree);
Expand Down

0 comments on commit 1873c2f

Please sign in to comment.