aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2001-05-22 23:39:24 +0800
committerJacob Berkman <jberkman@src.gnome.org>2001-05-22 23:39:24 +0800
commitd8e1a022dfb4e2514bfc928cffcc734e4ba85faa (patch)
treeb7573b29c758464c5d8aecc508d67f89a2661970 /widgets
parent35398b22384e314235728eefd673b5affe3920c6 (diff)
downloadgsoc2013-evolution-d8e1a022dfb4e2514bfc928cffcc734e4ba85faa.tar.gz
gsoc2013-evolution-d8e1a022dfb4e2514bfc928cffcc734e4ba85faa.tar.zst
gsoc2013-evolution-d8e1a022dfb4e2514bfc928cffcc734e4ba85faa.zip
a similar change to below, which makes it actually work for the case where
2001-05-22 jacob berkman <jacob@ximian.com> * e-table-sorted.c (ets_proxy_model_rows_deleted): a similar change to below, which makes it actually work for the case where count != 1 svn path=/trunk/; revision=9923
Diffstat (limited to 'widgets')
-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 c8c874feaf..71cbce1671 100644
--- a/widgets/table/e-table-sorted.c
+++ b/widgets/table/e-table-sorted.c
@@ -234,7 +234,7 @@ ets_proxy_model_rows_deleted (ETableSubset *etss, ETableModel *source, int row,
for (j = 0; j < count; j++) {
for (i = 0; i < etss->n_map; i++){
- if (etss->map_table[i] == row) {
+ if (etss->map_table[i] == row + j) {
e_table_model_pre_change (etm);
memmove (etss->map_table + i, etss->map_table + i + 1, (etss->n_map - i - 1) * sizeof(int));
etss->n_map --;