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:
parent
794c23a81a
commit
a2cf91cb36
|
@ -241,6 +241,7 @@ void Text::regenerate()
|
|||
|
||||
// width
|
||||
doc->setTextWidth(width);
|
||||
doc->documentLayout()->update();
|
||||
|
||||
// update ascent
|
||||
if(doc->firstBlock().layout()->lineCount() > 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user