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>
This commit is contained in:
Orgad Shaneh
2018-01-06 22:28:55 +02:00
committed by Orgad Shaneh
parent 1decef8fc9
commit 53b2df46e0

View File

@@ -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();