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
This commit is contained in:
committed by
Jacob Berkman
parent
35398b2238
commit
d8e1a022df
@ -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 --;
|
||||
|
||||
Reference in New Issue
Block a user