Skip to content

Commit

Permalink
Bug 607000 - SLR visible transactions
Browse files Browse the repository at this point in the history
Change the Since Last Run dialog to show only transactions with a
non-empty Status.
  • Loading branch information
Bob-IT committed Nov 20, 2023
1 parent 71feea0 commit 16c1244
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gnucash/gnome/dialog-sx-since-last-run.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,10 @@ gsslrtma_populate_tree_store (GncSxSlrTreeModelAdapter *model)
}
}

// if there are no instances for the instance skip adding
if (g_list_length (instances->instance_list) == 0)
continue;

if (!gtk_tree_model_iter_nth_child (GTK_TREE_MODEL(model->real), &sx_tree_iter, NULL, ++instances_index))
{
gtk_tree_store_append (model->real, &sx_tree_iter, NULL);
Expand Down

0 comments on commit 16c1244

Please sign in to comment.