aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-cell-text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 8bfcf384d0..43df53e378 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -482,6 +482,9 @@ build_layout (ECellTextView *text_view, int row, const char *text, gint width)
pango_attr_list_unref (attrs);
}
+ if (text_view->edit)
+ return layout;
+
if (width > 0)
pango_layout_set_width (layout, width * PANGO_SCALE);
pango_layout_set_wrap (layout, PANGO_WRAP_CHAR);