gnucash stable: Bug 799087 - Import - Unbalanced (need acct) transactions now show...

John Ralls jralls at code.gnucash.org
Wed Sep 27 00:02:14 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/d8d86140 (commit)
	from  https://github.com/Gnucash/gnucash/commit/13c81df5 (commit)



commit d8d8614064d6a5ef921e13049d651fe71827cf32
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 26 21:00:37 2023 -0700

    Bug 799087 - Import - Unbalanced (need acct) transactions now show...
    
    in red (previously orange).

diff --git a/gnucash/import-export/import-main-matcher.cpp b/gnucash/import-export/import-main-matcher.cpp
index 9c8195aea2..5a8eb41ca2 100644
--- a/gnucash/import-export/import-main-matcher.cpp
+++ b/gnucash/import-export/import-main-matcher.cpp
@@ -2010,7 +2010,7 @@ refresh_model_row (GNCImportMainMatcher *gui,
                     xaccTransGetCurrency (gnc_import_TransInfo_get_trans (info)), true);
                 gnc_numeric bal_val = gnc_import_TransInfo_get_dest_value (info);
                 imbalance = g_strdup (xaccPrintAmount (bal_val, pinfo));
-                color = get_required_color (int_required_class);
+                color = get_required_color (int_prob_required_class);
                 text =
                     /* Translators: %s is the amount to be transferred. */
                     g_strdup_printf (_("New, UNBALANCED (need acct to transfer %s)!"),



Summary of changes:
 gnucash/import-export/import-main-matcher.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list