Commit c39604eb authored by Tobias Hunger's avatar Tobias Hunger
Browse files

VcsBaseEditor: Use TextDocument to set text

That is the preferred way to do things (and also has the advantage
of not triggering the crash described in QTCREATORBUG-14975;-).

Task-number: QTCREATORBUG-14975
Change-Id: I5da9be45f3ec88478931d07b7a64dfd4d0ed32c0
Reviewed-by: default avatarEike Ziller <>
parent a314d8d9
......@@ -1401,7 +1401,7 @@ void VcsBaseEditorWidget::setCommand(VcsCommand *command)
void VcsBaseEditorWidget::setPlainText(const QString &text)
// Find the complete file from a diff relative specification.
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