diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-26 19:45:52 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-26 19:45:52 +0800 |
commit | e0163b782f3c12b72acbe5ade34e88a9a7504e7d (patch) | |
tree | 52e309d018f14fd9cd753a5fa2c142cf51649647 /widgets | |
parent | 24c80204b473ea27d42265e60e8df77c980d817c (diff) | |
download | gsoc2013-evolution-e0163b782f3c12b72acbe5ade34e88a9a7504e7d.tar.gz gsoc2013-evolution-e0163b782f3c12b72acbe5ade34e88a9a7504e7d.tar.zst gsoc2013-evolution-e0163b782f3c12b72acbe5ade34e88a9a7504e7d.zip |
reset motion_row/motion_col if the model changes. See bug #54757.
2004-02-26 Not Zed <NotZed@Ximian.com>
* e-table-item.c (eti_table_model_pre_change): reset
motion_row/motion_col if the model changes. See bug #54757.
svn path=/trunk/; revision=24878
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index dd5a040c1d..4f9cd6a177 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1068,6 +1068,8 @@ eti_table_model_pre_change (ETableModel *table_model, ETableItem *eti) eti_check_cursor_bounds (eti); if (eti_editing (eti)) e_table_item_leave_edit_(eti); + eti->motion_row = -1; + eti->motion_col = -1; eti_freeze (eti); } |