gnucash maint: Fix for import-match-picker "Balanced" amount currency
Christopher Lam
clam at code.gnucash.org
Sun Jun 23 06:42:42 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/2d06d703 (commit)
from https://github.com/Gnucash/gnucash/commit/262a1fac (commit)
commit 2d06d703f2164eeeb7782f61a379fc1dc06735ba
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Jun 23 18:11:50 2019 +0800
Fix for import-match-picker "Balanced" amount currency
Import match picker showed amount in default_currency. Fix to show in
the transaction's currency.
diff --git a/gnucash/import-export/import-match-picker.c b/gnucash/import-export/import-match-picker.c
index f82774ccd..faff221bd 100644
--- a/gnucash/import-export/import-match-picker.c
+++ b/gnucash/import-export/import-match-picker.c
@@ -169,7 +169,7 @@ downloaded_transaction_append(GNCImportMatchPicker * matcher,
currencies and no non-currency commodity. In that case can use the simpler
value imbalance check. */
ro_text = xaccPrintAmount(xaccTransGetImbalanceValue(trans),
- gnc_default_print_info(TRUE));
+ gnc_commodity_print_info (xaccTransGetCurrency (trans), TRUE));
gtk_list_store_set(store, &iter, DOWNLOADED_COL_BALANCED, ro_text, -1);
gtk_list_store_set(store, &iter, DOWNLOADED_COL_INFO_PTR,
Summary of changes:
gnucash/import-export/import-match-picker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list