mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Register: Add a few debugging calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17986 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e3477bc041
commit
08a8d60401
@ -1330,14 +1330,20 @@ gnc_split_reg_jump_to_blank (GNCSplitReg *gsr)
|
||||
VirtualCellLocation vcell_loc;
|
||||
Split *blank;
|
||||
|
||||
ENTER("gsr=%p", gsr);
|
||||
|
||||
blank = gnc_split_register_get_blank_split (reg);
|
||||
if (blank == NULL)
|
||||
{
|
||||
LEAVE("no blank split");
|
||||
return;
|
||||
}
|
||||
|
||||
if (gnc_split_register_get_split_virt_loc (reg, blank, &vcell_loc))
|
||||
gnucash_register_goto_virt_cell (gsr->reg, vcell_loc);
|
||||
|
||||
gnc_ledger_display_refresh (gsr->ledger);
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
void
|
||||
@ -1698,9 +1704,11 @@ gnc_split_reg_match_trans_row( VirtualLocation virt_loc,
|
||||
static void
|
||||
gnc_split_reg_goto_next_trans_row (GNCSplitReg *gsr)
|
||||
{
|
||||
ENTER("gsr=%p", gsr);
|
||||
gnucash_register_goto_next_matching_row( gsr->reg,
|
||||
gnc_split_reg_match_trans_row,
|
||||
gsr );
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
void
|
||||
@ -1709,6 +1717,8 @@ gnc_split_reg_enter( GNCSplitReg *gsr, gboolean next_transaction )
|
||||
SplitRegister *sr = gnc_ledger_display_get_split_register( gsr->ledger );
|
||||
gboolean goto_blank;
|
||||
|
||||
ENTER("gsr=%p, next_transaction=%s", gsr, next_transaction? "TRUE" : "FALSE");
|
||||
|
||||
goto_blank = gnc_gconf_get_bool(GCONF_GENERAL_REGISTER,
|
||||
"enter_moves_to_end", NULL);
|
||||
|
||||
@ -1750,6 +1760,7 @@ gnc_split_reg_enter( GNCSplitReg *gsr, gboolean next_transaction )
|
||||
gnc_split_reg_goto_next_trans_row( gsr );
|
||||
else
|
||||
gnucash_register_goto_next_virt_row( gsr->reg );
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user