forked from openlp/openlp
next prev 2
This commit is contained in:
parent
6e5070316c
commit
16a1b1a0af
@ -74,7 +74,7 @@ def service_direction(request, action):
|
||||
:param action: the the service slides forward or backward.
|
||||
"""
|
||||
event = getattr(Registry().get('service_manager'), 'servicemanager_{action}_item'.format(action=action))
|
||||
event.emit(None)
|
||||
event.emit()
|
||||
return {'results': {'success': True}}
|
||||
|
||||
|
||||
|
@ -1068,8 +1068,8 @@ class SlideController(DisplayController, RegistryProperties):
|
||||
if self.service_item is not None:
|
||||
if hide:
|
||||
Registry().execute('live_display_hide', HideMode.Screen)
|
||||
# Registry().execute('{text}_hide'.format(text=self.service_item.name.lower()),
|
||||
# [self.service_item, self.is_live])
|
||||
Registry().execute('{text}_hide'.format(text=self.service_item.name.lower()),
|
||||
[self.service_item, self.is_live])
|
||||
else:
|
||||
if not self.service_item.is_command():
|
||||
Registry().execute('live_display_show')
|
||||
|
Loading…
Reference in New Issue
Block a user