Commit 1f869cb5 authored by con's avatar con
Browse files

Avoid infinit loop in submit editor on Mac.


Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 5ed88c13
......@@ -242,6 +242,7 @@ static QString wrappedText(const QTextEdit *e)
cursor.select(QTextCursor::LineUnderCursor);
rc += cursor.selectedText();
rc += newLine;
cursor.movePosition(QTextCursor::EndOfLine); // Mac needs it
cursor.movePosition(QTextCursor::Right);
}
return rc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment