forked from openlp/openlp
removed commented code
This commit is contained in:
parent
c443a6702e
commit
637cb09e74
@ -1407,13 +1407,6 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
|
||||
if ItemCapabilities.HasDetailedTitleDisplay in self.service_items[item][u'service_item'].capabilities\
|
||||
or ItemCapabilities.CanEdit in self.service_items[item][u'service_item'].capabilities:
|
||||
return
|
||||
# if False and not self.service_items[item][u'service_item'].is_text()\
|
||||
# and (ItemCapabilities.HasDetailedTitleDisplay in self.service_items[item][u'service_item'].capabilities\
|
||||
# or len(self.service_items[item][u'service_item']._raw_frames) == 1):
|
||||
# get_main_title = False
|
||||
# Title = self.service_items[item][u'service_item']._raw_frames[0][u'title']
|
||||
# else:
|
||||
# get_main_title = True
|
||||
title = self.service_items[item][u'service_item'].title
|
||||
title, ok = QtGui.QInputDialog.getText(self, self.tr(translate('OpenLP.ServiceManager', 'Input title')),
|
||||
self.tr(translate('OpenLP.ServiceManager', 'Title')), QtGui.QLineEdit.Normal, self.trUtf8(title))
|
||||
|
Loading…
Reference in New Issue
Block a user