Commits

Yuya Nishihara  committed d891fc2

commit: set currentAction accordingly on commit(amend=True)

The code to handle "currentAction == 'amend'" is already implemented at
commandFinished().

  • Participants
  • Parent commits f5c6119
  • Branches stable
  • Tags 2.4

Comments (0)

Files changed (1)

File tortoisehg/hgqt/commit.py

             commandlines.append(cmd)
 
         repo.incrementBusyCount()
-        self.currentAction = 'commit'
+        if amend:
+            self.currentAction = 'amend'
+        else:
+            self.currentAction = 'commit'
         self.currentProgress = _('Commit', 'start progress')
         self.progress.emit(*cmdui.startProgress(self.currentProgress, ''))
         self.commitButtonEnable.emit(False)