diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-selection-model.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c index 636c3a4f32..42734bd74e 100644 --- a/widgets/table/e-table-selection-model.c +++ b/widgets/table/e-table-selection-model.c @@ -536,6 +536,12 @@ e_table_selection_model_do_something (ETableSelectionModel *selection, { gint shift_p = state & GDK_SHIFT_MASK; gint ctrl_p = state & GDK_CONTROL_MASK; + + if (row == -1 && col != -1) + row = 0; + if (col == -1 && row != -1) + col = 0; + if (selection->row_count < 0) { if (selection->model) { selection->row_count = e_table_model_row_count(selection->model); |