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

stable mq: disable guards select button if the queue has no guards

Changeset 74d8ad157ee5

Parent da7bb49b6987

by Steve Borho

Changes to one file · Browse files at 74d8ad157ee5 Showing diff from parent da7bb49b6987 Diff from another changeset...

 
636
637
638
 
639
640
641
 
636
637
638
639
640
641
642
@@ -636,6 +636,7 @@
  a.triggered.connect(self.onGuardSelectionChange)   self.guardSelBtn.setMenu(menu)   self.guardSelBtn.setText(_('Guards: %d/%d') % (count, total)) + self.guardSelBtn.setEnabled(bool(total))     def onGuardSelectionChange(self, isChecked):   guard = hglib.fromunicode(self.sender().text())