From 637cb09e74deef4ef82583e1f90a20de91c21bd2 Mon Sep 17 00:00:00 2001 From: Dmitriy Marmyshev Date: Fri, 5 Apr 2013 19:13:00 +0400 Subject: [PATCH] removed commented code --- openlp/core/ui/servicemanager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 852bcf27f..033b20ccd 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -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))