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:
Bill Somerville 2017-08-04 23:56:53 +00:00
parent b801da053a
commit f785f6a654

View File

@ -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 ();