mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 06:08:42 -05:00
Fix regression introduced when fixing fonts
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5183 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
075e22b8aa
commit
5489920441
@ -54,7 +54,7 @@ void DisplayText::_insertText(const QString text, const QString bg)
|
|||||||
auto cursor = textCursor ();
|
auto cursor = textCursor ();
|
||||||
cursor.movePosition (QTextCursor::End);
|
cursor.movePosition (QTextCursor::End);
|
||||||
auto pos = cursor.position ();
|
auto pos = cursor.position ();
|
||||||
insertHtml (s);
|
cursor.insertHtml (s);
|
||||||
cursor.setPosition (pos, QTextCursor::MoveAnchor);
|
cursor.setPosition (pos, QTextCursor::MoveAnchor);
|
||||||
cursor.movePosition (QTextCursor::End, QTextCursor::KeepAnchor);
|
cursor.movePosition (QTextCursor::End, QTextCursor::KeepAnchor);
|
||||||
cursor.mergeCharFormat (m_charFormat);
|
cursor.mergeCharFormat (m_charFormat);
|
||||||
|
Loading…
Reference in New Issue
Block a user