aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-02-17 17:17:19 +0800
committerChris Toshok <toshok@src.gnome.org>2003-02-17 17:17:19 +0800
commit6f8b2d31d9a8f3cad16f06f4efe63936c3e1c92a (patch)
treed7aca3500e8e702481dcb75c9a930c786ef4739d
parent510e56ebfe46248c3dde85b5555ccf03835fa1a1 (diff)
downloadgsoc2013-evolution-6f8b2d31d9a8f3cad16f06f4efe63936c3e1c92a.tar.gz
gsoc2013-evolution-6f8b2d31d9a8f3cad16f06f4efe63936c3e1c92a.tar.zst
gsoc2013-evolution-6f8b2d31d9a8f3cad16f06f4efe63936c3e1c92a.zip
return after the e_table_model_no_change call.
2003-02-17 Chris Toshok <toshok@ximian.com> * e-tree-table-adapter.c (etta_proxy_node_data_changed): return after the e_table_model_no_change call. (etta_proxy_node_col_changed): same. svn path=/trunk/; revision=19923
-rw-r--r--widgets/table/e-tree-table-adapter.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index e3e8bba9ac..554193e4a3 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -712,8 +712,10 @@ etta_proxy_node_data_changed (ETreeModel *etm, ETreePath path, ETreeTableAdapter
{
int row = get_row(etta, path);
- if (row == -1)
+ if (row == -1) {
e_table_model_no_change(E_TABLE_MODEL(etta));
+ return;
+ }
e_table_model_row_changed(E_TABLE_MODEL(etta), row);
}
@@ -723,8 +725,10 @@ etta_proxy_node_col_changed (ETreeModel *etm, ETreePath path, int col, ETreeTabl
{
int row = get_row(etta, path);
- if (row == -1)
+ if (row == -1) {
e_table_model_no_change(E_TABLE_MODEL(etta));
+ return;
+ }
e_table_model_cell_changed(E_TABLE_MODEL(etta), col, row);
}