Commits

André Sintzoff committed f0cce13

qrename: fix unicode error when displaying patch name (fixes #1914)

Comments (0)

Files changed (1)

tortoisehg/hgqt/qrename.py

 
         self.setLayout(QVBoxLayout())
 
-        lbl = QLabel(_('Rename patch <b>%s</b> to:') % (self.oldpatchname))
+        lbl = QLabel(_('Rename patch <b>%s</b> to:') %
+                     hglib.tounicode(self.oldpatchname))
         self.layout().addWidget(lbl)
 
         self.le = QLineEdit(hglib.tounicode(self.oldpatchname))