0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 00:54:39 +03:00

followTo has been fixed

This commit is contained in:
Arin Alexander 2017-05-15 20:30:54 +03:00
parent c7a5b638e8
commit 2312c21d84

View File

@ -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())