mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-14 06:54:43 -05:00
Bug #347474: When tabbing off the last showed split, correctly focus new empty split.
If info->traverse_to_new is true, use CURSOR_CLASS_SPLIT as find_class to avoid focussing the transaction. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17078 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -302,14 +302,15 @@ gnc_split_register_load (SplitRegister *reg, GList * slist,
|
||||
find_trans = blank_trans;
|
||||
find_split = NULL;
|
||||
find_trans_split = blank_split;
|
||||
find_class = CURSOR_CLASS_SPLIT;
|
||||
}
|
||||
else
|
||||
{
|
||||
find_trans = info->cursor_hint_trans;
|
||||
find_split = info->cursor_hint_split;
|
||||
find_trans_split = info->cursor_hint_trans_split;
|
||||
find_class = info->cursor_hint_cursor_class;
|
||||
}
|
||||
find_class = info->cursor_hint_cursor_class;
|
||||
|
||||
save_loc = table->current_cursor_loc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user