diff --git a/src/plugins/git/branchdialog.cpp b/src/plugins/git/branchdialog.cpp index 75d592612c4ad5c64400895c02cd9ec4543ddfbc..895c56aa9ee22e76f61dafc674d7a728c1cc3af1 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()