~mdoyen/homebank/5.2.x

« back to all changes in this revision

Viewing changes to src/hub-transaction.c

  • Committer: Maxime Doyen
  • Date: 2019-07-29 20:34:22 UTC
  • Revision ID: homebank@free.fr-20190729203422-hy3g4szjv3dbzmxu
5.2.7 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                        {
80
80
                                gtk_list_store_insert_with_values(GTK_LIST_STORE(model1), &iter, -1,
81
81
                                                MODEL_TXN_POINTER, txn,
 
82
                                                MODEL_TXN_SPLITAMT, txn->amount,
82
83
                                                -1);
83
84
                        }
84
85
 
86
87
                        {
87
88
                                gtk_list_store_insert_with_values(GTK_LIST_STORE(model2), &iter, -1,
88
89
                                                MODEL_TXN_POINTER, txn,
 
90
                                                MODEL_TXN_SPLITAMT, txn->amount,
89
91
                                                -1);
90
92
                        }
91
93
                        lnk_txn = g_list_next(lnk_txn);
128
130
                        //#1824515 when amount change update acc panel
129
131
                        if( old_txn->amount != new_txn->amount )
130
132
                                ui_hub_account_populate(GLOBALS->mainwindow, NULL);
 
133
 
 
134
                        //#1830880 update mainwindow
 
135
                        ui_mainwindow_update(GLOBALS->mainwindow, GINT_TO_POINTER(UF_TITLE+UF_SENSITIVE+UF_BALANCE));
131
136
                        
132
137
                }
133
138