forked from qt-creator/qt-creator
Git: Fix changing remote in GerritPushDialog
Change-Id: I881a0402b4ba2fd887e62e02cf64406324bd9dbe Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
5b30509a99
commit
cd2722b1a0
@@ -186,6 +186,7 @@ bool GerritPushDialog::valid() const
|
||||
|
||||
void GerritPushDialog::setRemoteBranches()
|
||||
{
|
||||
bool blocked = m_ui->branchComboBox->blockSignals(true);
|
||||
m_ui->branchComboBox->clear();
|
||||
|
||||
int i = 0;
|
||||
@@ -200,6 +201,7 @@ void GerritPushDialog::setRemoteBranches()
|
||||
}
|
||||
}
|
||||
setChangeRange();
|
||||
m_ui->branchComboBox->blockSignals(blocked);
|
||||
}
|
||||
|
||||
QString GerritPushDialog::selectedRemoteName() const
|
||||
|
||||
Reference in New Issue
Block a user