summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-01-06 22:28:55 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-01-08 08:13:53 +0000
commit53b2df46e0100488d2baeb7d94eef07a1c8a069c (patch)
tree823c15d6f8f2d09ac5674d741b72336908936546
parent1decef8fc98e156338d9a558bd089dcd1224c414 (diff)
downloadqt-creator-53b2df46e0100488d2baeb7d94eef07a1c8a069c.tar.gz
Gerrit: Set current repository every time the dialog is shown
Task-number: QTCREATORBUG-19562 Change-Id: I17918e08f7d3092ffe54ab359bf2b41c51813367 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/git/gerrit/gerritplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/gerrit/gerritplugin.cpp b/src/plugins/git/gerrit/gerritplugin.cpp
index e495ff5748..6e92a821c9 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();