gitk: Ensure that "Reset branch" menu entry is enabled
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index acda29571de1e73f07801ba91db6c83a027381bd..2feb667d533708cc1d87b7e0b1fc4e800ebcda03 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -7979,7 +7979,7 @@ proc rowmenu {x y id} {
     if {$id ne $nullid && $id ne $nullid2} {
        set menu $rowctxmenu
        if {$mainhead ne {}} {
-           $menu entryconfigure 7 -label [mc "Reset %s branch to here" $mainhead]
+           $menu entryconfigure 7 -label [mc "Reset %s branch to here" $mainhead] -state normal
        } else {
            $menu entryconfigure 7 -label [mc "Detached head: can't reset" $mainhead] -state disabled
        }