forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.3' into master
Change-Id: I83af635dcac98e4fd78b21d8dd9dc3a27a4fdf94
This commit is contained in:
@@ -302,7 +302,7 @@ void GerritPlugin::updateActions(const VcsBase::VcsBasePluginState &state)
|
||||
const bool hasTopLevel = state.hasTopLevel();
|
||||
m_gerritCommand->action()->setEnabled(hasTopLevel);
|
||||
m_pushToGerritCommand->action()->setEnabled(hasTopLevel);
|
||||
if (m_dialog)
|
||||
if (m_dialog && m_dialog->isVisible())
|
||||
m_dialog->setCurrentPath(state.topLevel());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user