VCS: Fix word wrap mode for commit message

Change-Id: I99cee5236bc475aae949956ac7c1f05e8e3fd665
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2014-09-22 14:03:33 +03:00
committed by Orgad Shaneh
parent ce005981ab
commit ece3f97f90

View File

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