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

cmdui: cancel only when running

Changeset ba04687150e9

Parent 32a3be9d0378

by Yuki KODAMA

Changes to one file · Browse files at ba04687150e9 Showing diff from parent 32a3be9d0378 Diff from another changeset...

 
99
100
101
102
 
103
104
105
 
99
100
101
 
102
103
104
105
@@ -99,7 +99,7 @@
    def cancel(self):   '''Cancel running Mercurial command''' - if self.thread: + if self.is_running():   self.thread.abort()   self.commandCanceling.emit()