- reverted some other changes made while trying to find the fix

This commit is contained in:
Olli Suutari 2016-09-30 04:11:41 +03:00
parent 141c07d42a
commit d716f62d57

View File

@ -1328,6 +1328,7 @@ class SlideController(DisplayController, RegistryProperties):
else: else:
self.play_slides_once.setIcon(build_icon(':/media/media_time')) self.play_slides_once.setIcon(build_icon(':/media/media_time'))
self.play_slides_once.setText(UiStrings().PlaySlidesToEnd) self.play_slides_once.setText(UiStrings().PlaySlidesToEnd)
self.on_toggle_loop()
def set_audio_items_visibility(self, visible): def set_audio_items_visibility(self, visible):
""" """
@ -1386,6 +1387,7 @@ class SlideController(DisplayController, RegistryProperties):
[self.service_item, self.is_live]) [self.service_item, self.is_live])
if self.service_item.is_media(): if self.service_item.is_media():
self.on_media_close() self.on_media_close()
self.on_go_live()
# If ('advanced/double click live') is not enabled, double clicking preview adds the item to Service. # If ('advanced/double click live') is not enabled, double clicking preview adds the item to Service.
# Prevent same item in preview from being sent to Service multiple times. # Prevent same item in preview from being sent to Service multiple times.
# Changing the preview slide resets this flag to False. # Changing the preview slide resets this flag to False.