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

stable repofilter: do not misbehave when filter history items or branch names
are too long (refers to #670)


This does not close #670 because it is still possible to get the branch
selection combobox to be "lost" by making the window very small, but with this
patch it is much harder to do.

Changeset b2669fcd6319

Parent adb98726b317

by Angel Ezquerra

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

 
51
52
53
 
54
55
56
 
207
208
209
 
 
210
211
212
 
51
52
53
54
55
56
57
 
208
209
210
211
212
213
214
215
@@ -51,6 +51,7 @@
  self.revsetcombo = combo = QComboBox()   combo.setEditable(True)   combo.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed) + combo.setSizeAdjustPolicy(QComboBox.AdjustToMinimumContentsLength)   le = combo.lineEdit()   le.returnPressed.connect(self.returnPressed)   le.selectionChanged.connect(self.selectionChanged) @@ -207,6 +208,8 @@
  self._branchLabel.setMenu(self._branchMenu)     self._branchCombo = QComboBox() + self._branchCombo.setSizeAdjustPolicy(QComboBox.AdjustToMinimumContentsLength) + self._branchCombo.setMinimumSize(100,0)   self._branchCombo.currentIndexChanged.connect(self._emitBranchChanged)   self._branchReloading = False