Commits

Anonymous committed 62f15df

hgignore: fix encoding of unknownDoubleClicked (fixes #1754)

  • Participants
  • Parent commits 75d0a32
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/hgignore.py

         self.contextmenu.exec_(point)
 
     def unknownDoubleClicked(self, item):
-        self.insertFilters([str(item.text())])
+        self.insertFilters([hglib.fromunicode(item.text())])
 
     def insertFilters(self, pats=False, isregexp=False):
         if pats is False: