Skip to content

Commit

Permalink
Bug 798869 - Transaction Import MAP
Browse files Browse the repository at this point in the history
Reverted and reapplied commit b86eb96
in order to reference the proper bug report related to the fix.
  • Loading branch information
gjanssens committed Apr 27, 2023
1 parent a7f0240 commit 49e34b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gnucash/import-export/import-backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,11 @@ gnc_import_TransInfo_set_last_split_info (GNCImportTransInfo *info,
info->lsplit_amount = lsplit->amount;
info->lsplit_amount_selected_manually = true;
}
info->dest_acc = lsplit->account;
/* Bayesian matching may have already set a candidate destination
* account. However if the csv data also provides one, the one from the
* csv data is preferred. */
if (lsplit->account)
info->dest_acc = lsplit->account;
info->lsplit_rec_state = lsplit->rec_state;
info->lsplit_rec_date = lsplit->rec_date;
}
Expand Down

0 comments on commit 49e34b5

Please sign in to comment.