This instance will be upgraded to the latest Heptapod 0.20rc on 2021-02-26 at 11:00 UTC+1

Commit 4fd557d7 authored by Wagner Bruna's avatar Wagner Bruna

branchop: allow closing the default branch

This is often useful to deal with undesired anonymous branches.
A similar change was applied to hgtk on 9e8bdef4c479 .
parent 20c3e089f7fe
......@@ -55,8 +55,6 @@ class BranchOpDialog(QDialog):
newbranch.toggled.connect(branchCombo.setEnabled)
branchCombo.setEnabled(False)
if wctx.branch() == 'default':
closebranch.setEnabled(False)
if oldbranchop is None:
nochange.setChecked(True)
elif oldbranchop == False:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment