From 853c532bf9fbebcc6c0351189792dfbc4b6e23fb Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 25 Dec 2014 22:02:58 +0000 Subject: [PATCH] Do not allow edit of start/end time for optical mediaclips in the servicemanager. Fixes bug 1393186 until re-edit of optical clips is added. Fixes: https://launchpad.net/bugs/1393186 --- openlp/core/ui/servicemanager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 809aed797..4d495595f 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -883,7 +883,8 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage # TODO for future: make group explains itself more visually else: self.auto_play_slides_menu.menuAction().setVisible(False) - if service_item['service_item'].is_capable(ItemCapabilities.HasVariableStartTime): + if service_item['service_item'].is_capable(ItemCapabilities.HasVariableStartTime) and \ + not service_item['service_item'].is_capable(ItemCapabilities.IsOptical): self.time_action.setVisible(True) if service_item['service_item'].is_capable(ItemCapabilities.CanAutoStartForLive): self.auto_start_action.setVisible(True)