Commit 159ccaa5 authored by Pierre Rossi's avatar Pierre Rossi Committed by The Qt Project
Browse files

QQuickTextEdit: make the update logic work with multiple text frames


We can't assume that the text nodes are added in order since we're
iterating over all the blocks of a text frame before processing its child
text frames. The only way for all this not to collapse is to sort the text
nodes once we're done each time we're replacing/adding new ones.

Task-number: QTBUG-30349
Change-Id: Ia5d804f7f196b2348fd68fdd62a6585c189baaa4
Reviewed-by: default avatarCaroline Chao <caroline.chao@digia.com>
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
parent a16f3c66
Branches
Tags
No related merge requests found
Showing with 5 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment