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

shelve: use simpler QComboBox query methods

Drop TODO for disabling entries in each other's combo box as it does not appear
to be a supported function without re-implementing the combo box by hand.

Changeset 2c48f3c778e7

Parent fff070f3eb15

by Steve Borho

Changes to one file · Browse files at 2c48f3c778e7 Showing diff from parent fff070f3eb15 Diff from another changeset...

 
171
172
173
174
175
 
176
177
178
179
180
181
 
182
183
184
185
186
 
171
172
173
 
 
174
175
176
177
178
179
 
180
181
 
182
183
184
@@ -171,16 +171,14 @@
  self.deleteShelfA.setEnabled(False)   else:   self.deleteShelfA.setEnabled(True) - rev = hglib.fromunicode(self.comboa.itemText(index)) - # TODO: disable this patch/shelve in comboB + rev = hglib.fromunicode(self.comboa.currentText())   self.browsea.setContext(self.repo.changectx(rev))     @pyqtSlot(int)   def comboBChanged(self, index):   self.deleteShelfB.setEnabled(True) - rev = hglib.fromunicode(self.combob.itemText(index)) + rev = hglib.fromunicode(self.combob.currentText())   self.browseb.setContext(self.repo.changectx(rev)) - # TODO: disable this patch/shelve in comboA     def refresh(self):   self.browsea.refresh()