Skip to content
Snippets Groups Projects
Commit 255c5799 authored by Tobias Hunger's avatar Tobias Hunger Committed by Fawzi Mohamed
Browse files

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: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
parent 945b5f9a
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment