forked from openlp/openlp
style fix
This commit is contained in:
parent
4f915d363f
commit
6209ad8bb5
@ -1407,13 +1407,11 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
|
|||||||
# Title = self.service_items[item][u'service_item']._raw_frames[0][u'title']
|
# Title = self.service_items[item][u'service_item']._raw_frames[0][u'title']
|
||||||
# else:
|
# else:
|
||||||
# get_main_title = True
|
# get_main_title = True
|
||||||
Title = self.service_items[item][u'service_item'].title
|
title = self.service_items[item][u'service_item'].title
|
||||||
Title, ok = QtGui.QInputDialog.getText(self,
|
title, ok = QtGui.QInputDialog.getText(self, self.tr(translate('OpenLP.ServiceManager', 'Input title')),
|
||||||
self.tr(translate('OpenLP.ServiceManager', 'Input title')),
|
self.tr(translate('OpenLP.ServiceManager', 'Title')), QtGui.QLineEdit.Normal, self.trUtf8(title))
|
||||||
self.tr(translate('OpenLP.ServiceManager', 'Title')),
|
|
||||||
QtGui.QLineEdit.Normal, self.trUtf8(Title))
|
|
||||||
if ok:
|
if ok:
|
||||||
self.service_items[item][u'service_item'].title = unicode(Title)
|
self.service_items[item][u'service_item'].title = unicode(title)
|
||||||
self.repaint_service_list(item, -1)
|
self.repaint_service_list(item, -1)
|
||||||
self.set_modified()
|
self.set_modified()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user