Git: Allow Checkout for remote branches

Change-Id: Ic1b402314c29c70a24d314ead674166839a61d42
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-06-03 22:45:10 +03:00
committed by Tobias Hunger
parent 0af2934e48
commit 284ab01d2b

View File

@@ -109,7 +109,7 @@ void BranchDialog::enableButtons()
m_ui->removeButton->setEnabled(hasSelection && !currentSelected && isLocal && isLeaf); m_ui->removeButton->setEnabled(hasSelection && !currentSelected && isLocal && isLeaf);
m_ui->logButton->setEnabled(hasSelection && isLeaf); m_ui->logButton->setEnabled(hasSelection && isLeaf);
m_ui->diffButton->setEnabled(hasSelection && isLeaf); m_ui->diffButton->setEnabled(hasSelection && isLeaf);
m_ui->checkoutButton->setEnabled(hasSelection && !currentSelected && isLocal && isLeaf); m_ui->checkoutButton->setEnabled(hasSelection && !currentSelected && isLeaf);
} }
void BranchDialog::refresh() void BranchDialog::refresh()