From f15d6d0bafeb2d5be6c564413f9fd51827221af0 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 25 Feb 2020 23:02:44 +0200 Subject: [PATCH] VCS: Set repository for VcsCommand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes file names right-clickable. Change-Id: I96ba21e73d54819148f13fcb033a144146b00418 Reviewed-by: André Hartmann --- src/plugins/vcsbase/vcscommand.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/vcsbase/vcscommand.cpp b/src/plugins/vcsbase/vcscommand.cpp index 76a53f06e6a..3b1697c1367 100644 --- a/src/plugins/vcsbase/vcscommand.cpp +++ b/src/plugins/vcsbase/vcscommand.cpp @@ -43,6 +43,7 @@ VcsCommand::VcsCommand(const QString &workingDirectory, Core::ShellCommand(workingDirectory, environment), m_preventRepositoryChanged(false) { + VcsOutputWindow::setRepository(workingDirectory); setOutputProxyFactory([this] { auto proxy = new OutputProxy; VcsOutputWindow *outputWindow = VcsOutputWindow::instance();