Fixed unicode

This commit is contained in:
Dmitriy Marmyshev 2013-09-11 00:29:45 +04:00
parent df56435f44
commit b1adce782e

View File

@ -1408,7 +1408,7 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
title, ok = QtGui.QInputDialog.getText(self, translate('OpenLP.ServiceManager', 'Rename item title'), title, ok = QtGui.QInputDialog.getText(self, translate('OpenLP.ServiceManager', 'Rename item title'),
translate('OpenLP.ServiceManager', 'Title:'), QtGui.QLineEdit.Normal, self.trUtf8(title)) translate('OpenLP.ServiceManager', 'Title:'), QtGui.QLineEdit.Normal, self.trUtf8(title))
if ok: if ok:
self.service_items[item]['service_item'].title = unicode(title) self.service_items[item]['service_item'].title = title
self.repaint_service_list(item, -1) self.repaint_service_list(item, -1)
self.set_modified() self.set_modified()