Commits

Yuya Nishihara committed 3af44d7

sync: make editurl action honor editable flag

It changes "Edit" action of "Related Paths" list never enabled.

Comments (0)

Files changed (1)

tortoisehg/hgqt/sync.py

 
         self.menuurl = url
         self.menualias = alias
-        self.acts[-1].setEnabled(editable)
+        for act in self.acts[-2:]:
+            act.setEnabled(editable)
         self.cmenu.exec_(point)
 
     def exploreurl(self):