From 53b2df46e0100488d2baeb7d94eef07a1c8a069c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sat, 6 Jan 2018 22:28:55 +0200 Subject: [PATCH] Gerrit: Set current repository every time the dialog is shown Task-number: QTCREATORBUG-19562 Change-Id: I17918e08f7d3092ffe54ab359bf2b41c51813367 Reviewed-by: Eike Ziller --- src/plugins/git/gerrit/gerritplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/git/gerrit/gerritplugin.cpp b/src/plugins/git/gerrit/gerritplugin.cpp index e495ff57483..6e92a821c9c 100644 --- a/src/plugins/git/gerrit/gerritplugin.cpp +++ b/src/plugins/git/gerrit/gerritplugin.cpp @@ -376,6 +376,7 @@ void GerritPlugin::openView() connect(this, &GerritPlugin::fetchFinished, gd, &GerritDialog::fetchFinished); m_dialog = gd; } else { + m_dialog->setCurrentPath(currentRepository()); m_dialog->refresh(); } const Qt::WindowStates state = m_dialog->windowState();