From cc8b573b6273fa069d6078c0b47622dda4b339f9 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Wed, 6 Nov 2013 17:25:11 +0100 Subject: [PATCH] Update projector when the title of the default slide changes --- openslides/core/signals.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openslides/core/signals.py b/openslides/core/signals.py index 193169dda..70d28b7ae 100644 --- a/openslides/core/signals.py +++ b/openslides/core/signals.py @@ -7,6 +7,7 @@ from django.utils.translation import ugettext_lazy, ugettext_noop from openslides.config.api import ConfigGroup, ConfigGroupedPage, ConfigVariable from openslides.config.signals import config_signal +from openslides.projector.api import update_projector post_database_setup = Signal() @@ -64,7 +65,8 @@ def setup_general_config_page(sender, **kwargs): form_field=forms.CharField( widget=forms.TextInput(), label=ugettext_lazy('Title'), - required=False)) + required=False), + on_change=update_projector) welcome_text = ConfigVariable( name='welcome_text',