Skip to content
Snippets Groups Projects
Commit 56d3be8c authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by Eike Ziller
Browse files

DiffEditor: fix crash on diff action


Fix crash in GitClient::findExistingOrOpenNewDiffEditor as new DiffEditor
is not created

Change-Id: I7f0cd18ff3acffe1d83a5fad4d6f0df8c4d133f3
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent a766fc42
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ DiffEditorFile::DiffEditorFile(const QString &mimeType, QObject *parent) :
bool DiffEditorFile::setContents(const QByteArray &contents)
{
Q_UNUSED(contents);
return false;
return true;
}
void DiffEditorFile::setModified(bool modified)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment