forked from openlp/openlp
Icon, indentation
This commit is contained in:
parent
a7dc47e80f
commit
d064549eab
@ -235,7 +235,7 @@ class Ui_ServiceManager(object):
|
|||||||
self.edit_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Edit Item'),
|
self.edit_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Edit Item'),
|
||||||
icon=':/general/general_edit.png', triggers=self.remote_edit)
|
icon=':/general/general_edit.png', triggers=self.remote_edit)
|
||||||
self.rename_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Rename...'),
|
self.rename_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Rename...'),
|
||||||
triggers=self.on_service_item_rename)
|
icon=':/general/general_edit.png', triggers=self.on_service_item_rename)
|
||||||
self.maintain_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Reorder Item'),
|
self.maintain_action = create_widget_action(self.menu, text=translate('OpenLP.ServiceManager', '&Reorder Item'),
|
||||||
icon=':/general/general_edit.png',
|
icon=':/general/general_edit.png',
|
||||||
triggers=self.on_service_item_edit_form)
|
triggers=self.on_service_item_edit_form)
|
||||||
@ -1496,7 +1496,8 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage
|
|||||||
return
|
return
|
||||||
title = self.service_items[item]['service_item'].title
|
title = self.service_items[item]['service_item'].title
|
||||||
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 = title
|
self.service_items[item]['service_item'].title = title
|
||||||
self.repaint_service_list(item, -1)
|
self.repaint_service_list(item, -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user