diff options
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 86f55aeab2..a6697544fa 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1665,8 +1665,9 @@ eti_realize (GnomeCanvasItem *item) free_height_cache(eti); - if (item->canvas->focused_item == NULL) { + if (item->canvas->focused_item == NULL && eti->selection) { int row; + row = e_selection_model_cursor_row (E_SELECTION_MODEL (eti->selection)); row = model_to_view_row(eti, row); if (row != -1) { |