forked from qt-creator/qt-creator
Git: Fix addition of tracking branches
The dialog is always hidden by the time the tracking state is queried, so all new branches were done in non-tracking mode. Change-Id: I11cdbec6af1c756c1449d68a2efeb31a1c5bd0ec Reviewed-on: http://codereview.qt.nokia.com/2196 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
committed by
Fawzi Mohamed
parent
255c5799f2
commit
94a71d2e8c
@@ -72,7 +72,7 @@ void BranchAddDialog::setTrackedBranchName(const QString &name, bool remote)
|
||||
|
||||
bool BranchAddDialog::track()
|
||||
{
|
||||
return m_ui->trackingCheckBox->isVisible() && m_ui->trackingCheckBox->isChecked();
|
||||
return m_ui->trackingCheckBox->isChecked();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user