Commit ece3f97f authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

VCS: Fix word wrap mode for commit message



Change-Id: I99cee5236bc475aae949956ac7c1f05e8e3fd665
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent ce005981
......@@ -305,6 +305,7 @@ void SubmitEditorWidget::wrapDescription()
e.setFontPointSize(1.0);
e.setLineWrapColumnOrWidth(d->m_ui.description->lineWrapColumnOrWidth());
e.setLineWrapMode(d->m_ui.description->lineWrapMode());
e.setWordWrapMode(d->m_ui.description->wordWrapMode());
e.setPlainText(d->m_description);
d->m_description.clear();
QTextCursor cursor(e.document());
......
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