Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable repowidget: fix incorrect disabled item menu in unappliedPatchMenu

- disable Fold patches... when no qtip
- always enable Delete patches...
- enable Reorder patches when more than one patch is selected

Changeset a2c849772b04

Parent 437bb06a206f

by André Sintzoff

Changes to one file · Browse files at a2c849772b04 Showing diff from parent 437bb06a206f Diff from another changeset...

 
822
823
824
825
826
827
 
 
 
828
829
830
 
822
823
824
 
 
 
825
826
827
828
829
830
@@ -822,9 +822,9 @@
    def unappliedPatchMenu(self, point, selection):   self.menuselection = selection - self.unappacts[0].setEnabled(len(selection) == 1) - self.unappacts[1].setEnabled(len(selection) == 1) - self.unappacts[2].setEnabled('qtip' in self.repo.tags()) + self.unappacts[0].setEnabled('qtip' in self.repo.tags()) + self.unappacts[1].setEnabled(True) + self.unappacts[2].setEnabled(len(selection) > 1)   self.unappcmenu.exec_(point)     def generateSingleMenu(self):