forked from qt-creator/qt-creator
Fix crash in submit editor
Task-number: QTCREATORBUG-6657 Change-Id: I1b7b9f6e84b4e81ed1c81c70c9a0b4e3dce360e3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
@@ -323,7 +323,7 @@ static QString wrappedText(const QTextEdit *e)
|
||||
rc += cursor.selectedText();
|
||||
rc += newLine;
|
||||
cursor.movePosition(QTextCursor::EndOfLine); // Mac needs it
|
||||
cursor.movePosition(QTextCursor::Right);
|
||||
cursor.movePosition(QTextCursor::NextCharacter);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user