From 284ab01d2b7fc7008ce022e585a52039c95b8b04 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgads@gmail.com> Date: Sun, 3 Jun 2012 22:45:10 +0300 Subject: [PATCH] Git: Allow Checkout for remote branches Change-Id: Ic1b402314c29c70a24d314ead674166839a61d42 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> --- src/plugins/git/branchdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/branchdialog.cpp b/src/plugins/git/branchdialog.cpp index 75d592612c4..895c56aa9ee 100644 --- a/src/plugins/git/branchdialog.cpp +++ b/src/plugins/git/branchdialog.cpp @@ -109,7 +109,7 @@ void BranchDialog::enableButtons() m_ui->removeButton->setEnabled(hasSelection && !currentSelected && isLocal && isLeaf); m_ui->logButton->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() -- GitLab