diff --git a/src/gnome-utils/glade/preferences.glade b/src/gnome-utils/glade/preferences.glade index de4fd4a105..ef7d8a4ac6 100644 --- a/src/gnome-utils/glade/preferences.glade +++ b/src/gnome-utils/glade/preferences.glade @@ -2535,7 +2535,7 @@ 6 True - 15 + 16 4 False 0 @@ -2666,8 +2666,8 @@ 0 1 - 4 - 5 + 5 + 6 fill @@ -2694,8 +2694,8 @@ 0 1 - 9 - 10 + 10 + 11 fill @@ -2717,8 +2717,8 @@ 0 4 - 5 - 6 + 6 + 7 12 fill @@ -2741,8 +2741,8 @@ 0 4 - 6 - 7 + 7 + 8 12 fill @@ -2765,8 +2765,8 @@ 0 4 - 7 - 8 + 8 + 9 12 fill @@ -2789,8 +2789,8 @@ 0 4 - 8 - 9 + 9 + 10 12 fill @@ -2813,8 +2813,8 @@ 0 4 - 14 - 15 + 15 + 16 12 fill @@ -2837,8 +2837,8 @@ 0 4 - 13 - 14 + 14 + 15 12 fill @@ -2861,8 +2861,8 @@ 0 4 - 12 - 13 + 13 + 14 12 fill @@ -2885,8 +2885,8 @@ 0 4 - 11 - 12 + 12 + 13 12 fill @@ -2914,8 +2914,60 @@ 0 2 - 10 - 11 + 11 + 12 + fill + + + + + + + True + Move to Transfer field when memorised transaction auto filled. + True + Tab order in_cludes Transfer on Memorised Transactions + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + 4 + 3 + 4 + 12 + fill + + + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 4 + 5 fill @@ -2954,7 +3006,7 @@ 6 True - 10 + 11 4 False 0 diff --git a/src/gnome/schemas/apps_gnucash_general.schemas.in b/src/gnome/schemas/apps_gnucash_general.schemas.in index d3daffab17..8062d64b9d 100644 --- a/src/gnome/schemas/apps_gnucash_general.schemas.in +++ b/src/gnome/schemas/apps_gnucash_general.schemas.in @@ -350,6 +350,18 @@ + + /schemas/apps/gnucash/general/register/tab_includes_transfer_on_memorised + /apps/gnucash/general/register/tab_includes_transfer_on_memorised + gnucash + bool + FALSE + + Move to Transfer field when memorised transaction auto filled + If active then after a memorised transaction is automatically filled in the cursor will move to the Transfer field. If not active then it skips to the value field. + + + /schemas/apps/gnucash/general/register/use_new_window /apps/gnucash/general/register/use_new_window diff --git a/src/register/ledger-core/split-register-control.c b/src/register/ledger-core/split-register-control.c index f9a52fbea3..827ea08af2 100644 --- a/src/register/ledger-core/split-register-control.c +++ b/src/register/ledger-core/split-register-control.c @@ -857,13 +857,17 @@ gnc_split_register_auto_completion (SplitRegister *reg, gnc_resume_gui_refresh (); - /* now move to the non-empty amount column */ - amount = xaccSplitGetAmount (blank_split); - cell_name = (gnc_numeric_negative_p (amount)) ? CRED_CELL : DEBT_CELL; - - if (gnc_table_get_current_cell_location (reg->table, cell_name, - &new_virt_loc)) - *p_new_virt_loc = new_virt_loc; + /* now move to the non-empty amount column unless config setting says not */ + if ( !gnc_gconf_get_bool(GCONF_GENERAL_REGISTER, + "tab_includes_transfer_on_memorised", NULL) ) + { + amount = xaccSplitGetAmount (blank_split); + cell_name = (gnc_numeric_negative_p (amount)) ? CRED_CELL : DEBT_CELL; + + if (gnc_table_get_current_cell_location (reg->table, cell_name, + &new_virt_loc)) + *p_new_virt_loc = new_virt_loc; + } } break;