Git: Fix changing remote in GerritPushDialog

Change-Id: I881a0402b4ba2fd887e62e02cf64406324bd9dbe
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-05-06 22:41:05 +03:00
committed by Orgad Shaneh
parent 5b30509a99
commit cd2722b1a0

View File

@@ -186,6 +186,7 @@ bool GerritPushDialog::valid() const
void GerritPushDialog::setRemoteBranches() void GerritPushDialog::setRemoteBranches()
{ {
bool blocked = m_ui->branchComboBox->blockSignals(true);
m_ui->branchComboBox->clear(); m_ui->branchComboBox->clear();
int i = 0; int i = 0;
@@ -200,6 +201,7 @@ void GerritPushDialog::setRemoteBranches()
} }
} }
setChangeRange(); setChangeRange();
m_ui->branchComboBox->blockSignals(blocked);
} }
QString GerritPushDialog::selectedRemoteName() const QString GerritPushDialog::selectedRemoteName() const