aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-without.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-without.c b/widgets/table/e-table-without.c
index 06d3f86098..366b6c9f35 100644
--- a/widgets/table/e-table-without.c
+++ b/widgets/table/e-table-without.c
@@ -133,7 +133,7 @@ etw_proxy_model_rows_inserted (ETableSubset *etss, ETableModel *etm, int model_r
/* i is Model row */
for (i = model_row; i < model_row + count; i++) {
- if (check (etw, i)) {
+ if (!check (etw, i)) {
add_row (etw, i);
}
}
@@ -167,7 +167,7 @@ etw_proxy_model_changed (ETableSubset *etss, ETableModel *etm)
etss->map_table = g_new (int, row_count);
for (i = 0, j = 0; i < row_count; i++) {
- if (check (etw, i)) {
+ if (!check (etw, i)) {
etss->map_table[j++] = i;
}
}