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

stable mq: show active queuename again in queueCombo after failed activation

Changeset 4cbc8d43ae5d

Parent 806c70ae7d7a

by Johan Samyn

Changes to one file · Browse files at 4cbc8d43ae5d Showing diff from parent 806c70ae7d7a Diff from another changeset...

 
269
270
271
 
 
 
 
 
 
 
272
273
274
 
269
270
271
272
273
274
275
276
277
278
279
280
281
@@ -269,6 +269,13 @@
  self.repo.incrementBusyCount()   self.qtbar.setEnabled(False)   cmdline = ['qqueue', '-R', self.repo.root, hglib.fromunicode(queue)] + def finished(ret): + if ret: + for i in xrange(self.queueCombo.count()): + if self.queueCombo.itemText(i) == self.repo.thgactivemqname: + self.queueCombo.setCurrentIndex(i) + break + self.finishfunc = finished   self.cmd.run(cmdline)     @pyqtSlot()