forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
1decef8fc9
commit
53b2df46e0
@@ -376,6 +376,7 @@ void GerritPlugin::openView()
|
|||||||
connect(this, &GerritPlugin::fetchFinished, gd, &GerritDialog::fetchFinished);
|
connect(this, &GerritPlugin::fetchFinished, gd, &GerritDialog::fetchFinished);
|
||||||
m_dialog = gd;
|
m_dialog = gd;
|
||||||
} else {
|
} else {
|
||||||
|
m_dialog->setCurrentPath(currentRepository());
|
||||||
m_dialog->refresh();
|
m_dialog->refresh();
|
||||||
}
|
}
|
||||||
const Qt::WindowStates state = m_dialog->windowState();
|
const Qt::WindowStates state = m_dialog->windowState();
|
||||||
|
Reference in New Issue
Block a user