Skip to content

Commit a7f0240

Browse files
committed
Revert "Regression: bayesian matching in csv import doesn't find account"
This reverts commit b86eb96.
1 parent b86eb96 commit a7f0240

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

gnucash/import-export/import-backend.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,7 @@ gnc_import_TransInfo_set_last_split_info (GNCImportTransInfo *info,
301301
info->lsplit_amount = lsplit->amount;
302302
info->lsplit_amount_selected_manually = true;
303303
}
304-
/* Bayesian matching may have already set a candidate destination
305-
* account. However if the csv data also provides one, the one from the
306-
* csv data is preferred. */
307-
if (lsplit->account)
308-
info->dest_acc = lsplit->account;
304+
info->dest_acc = lsplit->account;
309305
info->lsplit_rec_state = lsplit->rec_state;
310306
info->lsplit_rec_date = lsplit->rec_date;
311307
}

0 commit comments

Comments
 (0)