diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-06-13 20:18:24 -0700 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-06-16 14:44:33 -0700 |
commit | d35e367e46d631c2fc52b7ab79b24f9fdaae9561 (patch) | |
tree | 7ec96de6c8aae55b3e124a6b0af0ef33657518ea /tests/auto/qmlnetwork | |
parent | 227d798d98604ceaaece8871efb0b68fa45058fe (diff) |
QQuickTextEdit::setDocument() needs to do the same sort of init and
signal connections as initial construction. Some of that was in the
QQuickTextControl constructor; now, QQuickTextControl::setDocument()
gets called either way, to connect signals related to the new document
and its layout. Also ensure that text layout occurs, TextEdit is
re-rendered, and interactive editing continues to be possible.
Amends 4598939ee2fad1238609ca43717199fd4e98c75f
Fixes: QTBUG-126267
Task-number: QTBUG-35688
Pick-to: 6.7 6.8
Change-Id: I7714548fbc7d1fc2c9c28e2601a490e54302cc8b
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'tests/auto/qmlnetwork')
0 files changed, 0 insertions, 0 deletions