Don't reset the bidi level on spaces
Fixes a regression introduced with the update to the bidi algorithm. Task-number: QTBUG-69633 Change-Id: I7eac45ed3ffb41f89ea3f793eedcfb6fcdace871 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>bb10
parent
1702ae24b3
commit
055ff7a8a4
|
|
@ -2077,7 +2077,6 @@ void QTextEngine::itemize() const
|
|||
case QChar::Nbsp:
|
||||
if (option.flags() & QTextOption::ShowTabsAndSpaces) {
|
||||
analysis->flags = QScriptAnalysis::Space;
|
||||
analysis->bidiLevel = bidi.baseLevel;
|
||||
break;
|
||||
}
|
||||
Q_FALLTHROUGH();
|
||||
|
|
|
|||
Loading…
Reference in New Issue