aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-selection-model-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-selection-model-array.c')
-rw-r--r--widgets/misc/e-selection-model-array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c
index 07e60a8065..834f473722 100644
--- a/widgets/misc/e-selection-model-array.c
+++ b/widgets/misc/e-selection-model-array.c
@@ -68,6 +68,7 @@ e_selection_model_array_delete_rows(ESelectionModelArray *esma, int row, int cou
if (esma->cursor_row >= e_bit_array_bit_count (esma->eba)) {
esma->cursor_row = e_bit_array_bit_count (esma->eba) - 1;
+ esma->selection_start_row--;
} else if (esma->cursor_row < 0) {
esma->cursor_row = -1;
}