Skip to content

Commit

Permalink
Expand the account tree before the select-account dialog is displayed…
Browse files Browse the repository at this point in the history
… to allow type-search
  • Loading branch information
jean committed Mar 17, 2020
1 parent eaab23b commit 9ea1c70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnucash/import-export/import-account-matcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ Account * gnc_import_select_account(GtkWidget *parent,
}
gtk_label_set_text((GtkLabel*)online_id_label, account_description_text);
build_acct_tree(picker);

// Expand the tree so if you start typing, any sub-account will match
gtk_tree_view_expand_all(GTK_TREE_VIEW(picker->account_tree));
gtk_window_set_modal(GTK_WINDOW(picker->dialog), TRUE);
g_signal_connect(picker->account_tree, "row-activated",
G_CALLBACK(account_tree_row_activated_cb), picker);
Expand Down

0 comments on commit 9ea1c70

Please sign in to comment.