Commits

Yuya Nishihara committed 71efd73

repotreeitem: cast possible QString to unicode at setShortName (fixes #2227)

RepoRegistryView.shortNameChanged slot will pass QString to setShortName,
for example.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repotreeitem.py

         self._basenode = basenode
 
     def setShortName(self, uname):
+        uname = unicode(uname)
         if uname != self._shortname:
             self._shortname = uname