forked from qt-creator/qt-creator
DiffEditor: fix crash on diff action
Fix crash in GitClient::findExistingOrOpenNewDiffEditor as new DiffEditor is not created Change-Id: I7f0cd18ff3acffe1d83a5fad4d6f0df8c4d133f3 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
a766fc42bb
commit
56d3be8c0b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user