Bug 799766 - Double line preference not respected in search register

After the changes to fix bug 799753, when the register default is to
show double lines the search results were only showing one line of the
transaction, a refresh of the search register would fix this.

This was down to the removal of a refresh from the register creation as
it is now done when the register is focused. In the find transaction
dialog a refresh was being done before the register creation which was
not reflected in the register when it was focused.

To fix this, do not do a refresh when creating the search register but
only when 'updating the search'.
remotes/origin/stable
Robert Fewell 2 days ago
parent 25e0f2144a
commit 88e5053784

@ -65,13 +65,13 @@ do_find_cb (QofQuery *query, gpointer user_data, gpointer *result)
else
gnc_ledger_display_set_query (ledger, query);
gnc_ledger_display_refresh (ledger);
if (new_ledger)
{
page = gnc_plugin_page_register_new_ledger (ledger);
gnc_main_window_open_page (GNC_MAIN_WINDOW(ftd->parent), page);
}
else
gnc_ledger_display_refresh (ledger);
qof_query_destroy (ftd->q);

Loading…
Cancel
Save