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

stable merge: use MessageEntry.moveCursorToEnd() method

Changeset 60336259bc67

Parent 6e0cb382a545

by Steve Borho

Changes to one file · Browse files at 60336259bc67 Showing diff from parent 6e0cb382a545 Diff from another changeset...

 
652
653
654
655
656
657
658
659
660
 
661
662
663
 
652
653
654
 
 
 
 
 
 
655
656
657
658
@@ -652,12 +652,7 @@
    def ready(self):   self.setTitle(_('Commit merged files')) - # move cursor to end of commit message - lines = self.msg_text.lines() - if lines: - lines -= 1 - pos = self.msg_text.lineLength(lines) - self.msg_text.setCursorPosition(lines, pos) + self.msg_text.moveCursorToEnd()     def perform(self):   self.setTitle(_('Committing...'))