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: set menuselection in one place

Changeset e4f398ddebff

Parent 84d7ce94b161

by Steve Borho

Changes to one file · Browse files at e4f398ddebff Showing diff from parent 84d7ce94b161 Diff from another changeset...

 
775
776
777
 
778
779
780
 
809
810
811
812
813
814
815
 
817
818
819
820
821
822
823
824
825
826
827
 
775
776
777
778
779
780
781
 
810
811
812
 
813
814
815
 
817
818
819
 
820
821
822
 
823
824
825
@@ -775,6 +775,7 @@
  self.bundlemenu.exec_(point)   return   + self.menuselection = selection   allunapp = False   if 'mq' in self.repo.extensions():   for rev in selection: @@ -809,7 +810,6 @@
  # No pair menu if working directory or unapplied patch   if type(r) is not int:   return - self.menuselection = selection   self.paircmenu.exec_(point)     def multipleSelectionMenu(self, point, selection): @@ -817,11 +817,9 @@
  # No multi menu if working directory or unapplied patch   if type(r) is not int:   return - self.menuselection = selection   self.multicmenu.exec_(point)     def unappliedPatchMenu(self, point, selection): - self.menuselection = selection   self.unappacts[0].setEnabled('qtip' in self.repo.tags())   self.unappacts[1].setEnabled(True)   self.unappacts[2].setEnabled(len(selection) > 1)