Bug 796915 - Update Account colour background

The account tree view background colour does not update straight away
with the preference option so add gnc_tree_view_account_refilter to the
colour change call back to force a refresh.
This commit is contained in:
Robert Fewell 2018-10-30 11:20:45 +00:00
parent 539a27b5ff
commit dfdafc7185

View File

@ -657,6 +657,9 @@ gnc_tree_view_account_color_update (gpointer gsettings, gchar *key, gpointer use
priv = GNC_TREE_VIEW_ACCOUNT_GET_PRIVATE(view);
if (g_strcmp0 (key, GNC_PREF_ACCOUNT_COLOR) == 0)
priv->show_account_color = gnc_prefs_get_bool(GNC_PREFS_GROUP_GENERAL, key);
// do a refilter so the tree view background color gets updated
gnc_tree_view_account_refilter (view);
}
/** Add the account color background data function to the GncTreeViewAccount column to