Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

stable repofilter: do not disable branch selection when showing active branches (closes #577)

Changeset fcedfafda30b

Parent ccfa5be655fb

by Piotr Klecha

Changes to one file · Browse files at fcedfafda30b Showing diff from parent ccfa5be655fb Diff from another changeset...

 
244
245
246
247
248
 
 
249
250
251
 
244
245
246
 
 
247
248
249
250
251
@@ -244,8 +244,8 @@
  for branch in branches:   self._branchCombo.addItem(branch)   self._branchCombo.setItemData(self._branchCombo.count() - 1, branch, Qt.ToolTipRole) - self._branchLabel.setEnabled(self.filterEnabled and len(branches) > 1) - self._branchCombo.setEnabled(self.filterEnabled and len(branches) > 1) + self._branchLabel.setEnabled(self.filterEnabled and (len(branches) > 1 or self._abranchAction.isChecked())) + self._branchCombo.setEnabled(self.filterEnabled and (len(branches) > 1 or self._abranchAction.isChecked()))   self._branchReloading = False     if not curbranch: