1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 3af44d7

sync: make editurl action honor editable flag

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

  • Participants
  • Parent commits 7df3baa
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/sync.py

View file
 
         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):