mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Regression: bayesian matching in csv import doesn't find account"
This reverts commit b86eb96476
.
This commit is contained in:
parent
b86eb96476
commit
a7f02401e9
@ -301,11 +301,7 @@ gnc_import_TransInfo_set_last_split_info (GNCImportTransInfo *info,
|
||||
info->lsplit_amount = lsplit->amount;
|
||||
info->lsplit_amount_selected_manually = true;
|
||||
}
|
||||
/* 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->dest_acc = lsplit->account;
|
||||
info->lsplit_rec_state = lsplit->rec_state;
|
||||
info->lsplit_rec_date = lsplit->rec_date;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user