mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-12 07:06:17 -05:00
Fix cursor positioning after displaying a decode line
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8003 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b801da053a
commit
f785f6a654
@ -73,7 +73,6 @@ void DisplayText::appendText(QString const& text, QColor bg)
|
|||||||
cursor.insertText (text);
|
cursor.insertText (text);
|
||||||
|
|
||||||
// position so viewport scrolled to left
|
// position so viewport scrolled to left
|
||||||
cursor.movePosition (QTextCursor::Up);
|
|
||||||
cursor.movePosition (QTextCursor::StartOfLine);
|
cursor.movePosition (QTextCursor::StartOfLine);
|
||||||
setTextCursor (cursor);
|
setTextCursor (cursor);
|
||||||
ensureCursorVisible ();
|
ensureCursorVisible ();
|
||||||
|
Loading…
Reference in New Issue
Block a user