From ff14da0e813ef979321508a963105bc7d2a6517a Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Sat, 10 Oct 1998 20:49:27 +0000 Subject: [PATCH] some refresh hacks git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1287 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/SplitLedger.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/SplitLedger.c b/src/SplitLedger.c index 0bd5366b32..7fac0b85e4 100644 --- a/src/SplitLedger.c +++ b/src/SplitLedger.c @@ -167,6 +167,7 @@ new_phys_row, new_phys_col); reg->user_hack = (void *) xaccSplitGetParent (oldsplit); } xaccRegisterRefresh (reg); + refreshMainWindow(); /* indicate what row we *should* have gone to */ *p_new_phys_row = table->current_cursor_phys_row; @@ -306,14 +307,8 @@ xaccSRRedrawRegEntry (SplitRegister *reg) * in this transaction. So basically, send redraw events to all * of the splits. */ - i = 0; - split = xaccTransGetSplit (trans, i); - while (split) { - acc = xaccSplitGetAccount (split); - xaccAccountDisplayRefresh (acc); - i++; - split = xaccTransGetSplit (trans, i); - } + xaccTransDisplayRefresh (trans); + refreshMainWindow(); } /* ======================================================== */ @@ -435,6 +430,7 @@ printf ("save split is %p \n", split); /* make sure any open windows of the old account get redrawn */ xaccAccountDisplayRefresh (old_acc); + refreshMainWindow(); } if (MOD_MXFRM & changed) { @@ -471,6 +467,7 @@ printf ("save split is %p \n", split); /* make sure any open windows of the old account get redrawn */ xaccAccountDisplayRefresh (old_acc); + refreshMainWindow(); } }