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

clone: call self.accept() in command command_finished

instead of reject().

This allows client code to connect to the finished(res) signal

Changeset 64d4feb27af7

Parent 64feedaaf3dc

by Adrian Buehlmann

Changes to one file · Browse files at 64d4feb27af7 Showing diff from parent 64feedaaf3dc Diff from another changeset...

 
239
240
241
 
242
243
244
 
258
259
260
261
 
262
263
264
 
239
240
241
242
243
244
245
 
259
260
261
 
262
263
264
265
@@ -239,6 +239,7 @@
    def cancel_clicked(self):   self.cmd.cancel() + self.reject()     def detail_toggled(self, checked):   self.cmd.show_output(checked) @@ -258,7 +259,7 @@
  self.close_btn.setFocus()   self.cancel_btn.setHidden(True)   else: - self.reject() + self.accept()     def command_canceling(self):   self.cancel_btn.setDisabled(True)