Commit 4e320e86 authored by Jarek Kobus's avatar Jarek Kobus Committed by Jarek Kobus
Browse files

Fix empty contents in git show editor



Task-number: QTCREATORBUG-11314

Change-Id: I8a74c174be4436797bf04904e708e26e9463ddcf
Reviewed-by: default avatarPetar Perisin <petar.perisin@gmail.com>
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@digia.com>
parent 1e858e11
......@@ -49,6 +49,8 @@ DiffShowEditorFactory::DiffShowEditorFactory(QObject *parent)
Core::IEditor *DiffShowEditorFactory::createEditor()
{
DiffEditorWidget *editorWidget = new DiffEditorWidget();
DiffEditorController *editorController = new DiffEditorController(editorWidget);
editorWidget->setDiffEditorController(editorController);
DiffShowEditor *editor = new DiffShowEditor(editorWidget);
return editor;
}
......
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