diff --git a/openslides/projector/api.py b/openslides/projector/api.py index 9daf943f9..c36aebe73 100644 --- a/openslides/projector/api.py +++ b/openslides/projector/api.py @@ -135,7 +135,7 @@ def projector_message_set(message, sid=None): try: overlay = ProjectorOverlay.objects.get(def_name='Message') except ProjectorOverlay.DoesNotExist: - overlay = ProjectorOverlay(def_name='Message', active=True) + overlay = ProjectorOverlay(def_name='Message', active=False) overlay.sid=sid overlay.save() diff --git a/openslides/projector/views.py b/openslides/projector/views.py index 4d7db7b8e..ae1e90770 100644 --- a/openslides/projector/views.py +++ b/openslides/projector/views.py @@ -52,9 +52,8 @@ class ControlView(TemplateView, AjaxMixin): projector_overlay = ProjectorOverlay.objects.get( def_name=name) except ProjectorOverlay.DoesNotExist: - active = name == 'Message' projector_overlay = ProjectorOverlay(def_name=name, - active=active) + active=False) projector_overlay.save() overlays.append(projector_overlay) return overlays