1. Toshi MARUYAMA
  2. thg-2.1.x-and-1.x-shellext

Commits

Eduard-Cristian Stefan  committed e7be841

reporegistry: case-insensitive sort by name (fixes #1984)

  • Participants
  • Parent commits 3590a77
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/reporegistry.py

View file
  • Ignore whitespace
 
     def sortbyname(self):
         childs = self.selitem.internalPointer().childs
-        self.tview.model().sortchilds(childs, lambda x: x.shortname())
+        self.tview.model().sortchilds(childs, lambda x: x.shortname().lower())
 
     def sortbypath(self):
         childs = self.selitem.internalPointer().childs