forked from qt-creator/qt-creator
Git: Fix assert
Refresh button states after running a checkout: The operation changes the currently active branch and thus needs to disable e.g. the remove action. Change-Id: Id060ec63dbcf3c3132a832c2801073df5f9e91f1 Reviewed-on: http://codereview.qt.nokia.com/2195 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
945b5f9a03
commit
255c5799f2
@@ -154,6 +154,7 @@ void BranchDialog::checkout()
|
||||
Q_ASSERT(m_model->isLocal(idx));
|
||||
|
||||
m_model->checkoutBranch(idx);
|
||||
enableButtons();
|
||||
}
|
||||
|
||||
/* Prompt to delete a local branch and do so. */
|
||||
|
||||
Reference in New Issue
Block a user