From 2312c21d840cf55692a9b4e9ef47b568625876ea Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 15 May 2017 20:30:54 +0300 Subject: [PATCH] followTo has been fixed --- limereport/items/lrtextitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/limereport/items/lrtextitem.cpp b/limereport/items/lrtextitem.cpp index 608f0ed..64e9248 100644 --- a/limereport/items/lrtextitem.cpp +++ b/limereport/items/lrtextitem.cpp @@ -491,7 +491,9 @@ TextItem::TextPtr TextItem::textDocument() const setTextFont(text,_font); } - //text->documentLayout(); + if (follower()) + text->documentLayout(); + if (m_lineSpacing != 1 || m_textIndent !=0 ){ for ( QTextBlock block = text->begin(); block.isValid(); block = block.next())