1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Text: documentLayout()->update()

This commit is contained in:
krepa098 2015-02-07 18:52:00 +01:00
parent 794c23a81a
commit a2cf91cb36

View File

@ -241,6 +241,7 @@ void Text::regenerate()
// width
doc->setTextWidth(width);
doc->documentLayout()->update();
// update ascent
if(doc->firstBlock().layout()->lineCount() > 0)