diff options
Diffstat (limited to 'widgets/e-table/e-table-group-container.c')
-rw-r--r-- | widgets/e-table/e-table-group-container.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-group-container.c b/widgets/e-table/e-table-group-container.c index a9f494db04..634d7934ef 100644 --- a/widgets/e-table/e-table-group-container.c +++ b/widgets/e-table/e-table-group-container.c @@ -416,6 +416,10 @@ etgc_event (GnomeCanvasItem *item, GdkEvent *event) ETableGroup *child = child_node->child; if (e_table_group_get_focus(child)) { old_col = e_table_group_get_focus_column(child); + if ( old_col == -1 ) + old_col = 0; + if ( start_col == -1 ) + start_col = e_table_header_count(e_table_group_get_header(child)) - 1; if (direction == E_FOCUS_END) list = list->prev; |