From 08eb65fb04ba27f06f70ce9c72266ed9bda8d494 Mon Sep 17 00:00:00 2001
From: Petar Perisin <petar.perisin@gmail.com>
Date: Tue, 9 Apr 2013 17:39:23 +0200
Subject: [PATCH] Git - Bug fix in changeSelectionDialog

disable checkout button too

Change-Id: I325436672091c6f4f824ed263c2643ecf31f93f4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
---
 src/plugins/git/changeselectiondialog.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/git/changeselectiondialog.cpp b/src/plugins/git/changeselectiondialog.cpp
index e344096772a..d6da012a98c 100644
--- a/src/plugins/git/changeselectiondialog.cpp
+++ b/src/plugins/git/changeselectiondialog.cpp
@@ -157,6 +157,7 @@ void ChangeSelectionDialog::enableButtons(bool b)
     m_showButton->setEnabled(b);
     m_cherryPickButton->setEnabled(b);
     m_revertButton->setEnabled(b);
+    m_checkoutButton->setEnabled(b);
 }
 
 void ChangeSelectionDialog::recalculateDetails(const QString &ref)
-- 
GitLab