mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix bug 699450
* Remove extra call to gtk_tree_view_append_column. (It is already called in gnc_tree_view_account_add_custom_column.) Author: Robert Ratliff <ratliff.bobby@gmail.com> git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23175 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
31c339f8c6
commit
6849406419
@ -1007,6 +1007,7 @@ gnc_budget_view_refresh(GncBudgetView *view)
|
||||
GtkTreeViewColumn *col;
|
||||
GList *col_list;
|
||||
GList *totals_col_list;
|
||||
ENTER("view %p", view);
|
||||
|
||||
g_return_if_fail(view != NULL);
|
||||
priv = GNC_BUDGET_VIEW_GET_PRIVATE(view);
|
||||
@ -1058,7 +1059,7 @@ gnc_budget_view_refresh(GncBudgetView *view)
|
||||
col = gbv_create_totals_column(view, num_periods_visible);
|
||||
if (col != NULL)
|
||||
{
|
||||
gtk_tree_view_append_column(priv->totals_tree_view, col);
|
||||
/*gtk_tree_view_append_column(priv->totals_tree_view, col);*/
|
||||
totals_col_list = g_list_append(totals_col_list, col);
|
||||
}
|
||||
|
||||
@ -1077,10 +1078,11 @@ gnc_budget_view_refresh(GncBudgetView *view)
|
||||
col = gbv_create_totals_column(view, -1);
|
||||
if (col != NULL)
|
||||
{
|
||||
gtk_tree_view_append_column(priv->totals_tree_view, col);
|
||||
/*gtk_tree_view_append_column(priv->totals_tree_view, col);*/
|
||||
}
|
||||
}
|
||||
|
||||
gbv_refresh_col_titles(view);
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user