forked from qt-creator/qt-creator
DiffEditor: Fix jumping to context line immediately on git show
Fixes: QTCREATORBUG-29081 Change-Id: I7a4658209f95e98cb485e725dee07074dae5c163 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -57,6 +57,7 @@ Tasking::TaskItem VcsBaseDiffEditorController::postProcessTask()
|
||||
};
|
||||
const auto onDiffProcessorDone = [this](const AsyncTask<QList<FileData>> &async) {
|
||||
setDiffFiles(async.isResultAvailable() ? async.result() : QList<FileData>());
|
||||
// TODO: We should set the right starting line here
|
||||
};
|
||||
const auto onDiffProcessorError = [this](const AsyncTask<QList<FileData>> &) {
|
||||
setDiffFiles({});
|
||||
|
||||
Reference in New Issue
Block a user