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

stable revert: close dialog on successful finish

Changeset 697ff6576f41

Parent 8fc862848092

by Steve Borho

Changes to one file · Browse files at 697ff6576f41 Showing diff from parent 8fc862848092 Diff from another changeset...

 
59
60
61
 
62
63
64
65
66
67
 
 
59
60
61
62
63
64
65
66
 
 
67
@@ -59,9 +59,9 @@
  else:   cmdline = ['revert', '--repository', self.repo.root, self.wfile]   cmdline += ['--rev', self.rev] + self.bbox.button(QDialogButtonBox.Ok).setEnabled(False)   self.cmd.run(cmdline)     def finished(self, ret):   if ret == 0: - self.bbox.button(QDialogButtonBox.Ok).setVisible(False) - self.bbox.button(QDialogButtonBox.Cancel).setText(_('Close')) + self.reject()