Skip to content

Commit

Permalink
disable recursion for balance and balance (usd)
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and gjanssens committed Nov 1, 2015
1 parent 2152571 commit 4c0dbb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gnome-utils/gnc-tree-model-account.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,19 +673,19 @@ gnc_tree_model_account_get_value (GtkTreeModel *tree_model,
case GNC_TREE_MODEL_ACCOUNT_COL_BALANCE:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_balance(xaccAccountGetBalanceInCurrency,
account, TRUE, &negative);
account, FALSE, &negative);
g_value_take_string (value, string);
break;
case GNC_TREE_MODEL_ACCOUNT_COL_BALANCE_REPORT:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_report_balance(xaccAccountGetBalanceInCurrency,
account, TRUE, &negative);
account, FALSE, &negative);
g_value_take_string (value, string);
break;
case GNC_TREE_MODEL_ACCOUNT_COL_COLOR_BALANCE:
g_value_init (value, G_TYPE_STRING);
string = gnc_ui_account_get_print_balance(xaccAccountGetBalanceInCurrency,
account, TRUE, &negative);
account, FALSE, &negative);
gnc_tree_model_account_set_color(model, negative, value);
g_free(string);
break;
Expand Down

0 comments on commit 4c0dbb1

Please sign in to comment.