Skip to content

Commit

Permalink
fixup! update pixbuf if acct changed
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Apr 6, 2024
1 parent fff7158 commit 96d841e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gnucash/import-export/import-main-matcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,11 @@ gnc_gen_trans_row_activated_cb (GtkTreeView *treeview,

gtk_tree_selection_select_path (gtk_tree_view_get_selection (treeview), path);

auto model = gtk_tree_view_get_model (info->view);
GtkTreeIter iter;
gtk_tree_model_get_iter (model, &iter, path);
refresh_model_row (info, model, &iter, get_trans_info (model, &iter));

gchar *namestr = gnc_account_get_full_name (assigned_account);
DEBUG("account returned = %s", namestr);
g_free (namestr);
Expand Down Expand Up @@ -2184,6 +2189,11 @@ reconciliation of the destination account may be difficult.");
-1);
g_object_unref (pixbuf);
}
else
gtk_tree_store_set (store, iter,
DOWNLOADED_COL_ACTION_PIXBUF, nullptr,
DOWNLOADED_COL_ACTION_PIXBUF_TOOLTIP, nullptr,
-1);

if (gnc_import_TransInfo_get_action (info) == GNCImport_SKIP)
{
Expand Down

0 comments on commit 96d841e

Please sign in to comment.