aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table-sorted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-sorted.c b/widgets/table/e-table-sorted.c
index 71cbce1671..4396b23ff3 100644
--- a/widgets/table/e-table-sorted.c
+++ b/widgets/table/e-table-sorted.c
@@ -230,7 +230,7 @@ ets_proxy_model_rows_deleted (ETableSubset *etss, ETableModel *source, int row,
gboolean shift;
int j;
- shift = row == etss->n_map - 1;
+ shift = row == etss->n_map - count;
for (j = 0; j < count; j++) {
for (i = 0; i < etss->n_map; i++){