From f4599bf94786c74bc3050026dbcfce653004946d Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 13 Sep 2009 20:31:31 +0100 Subject: [PATCH] Fixed reset presentation bug --- openlp/core/ui/slidecontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index db0130374..7676231ca 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -239,7 +239,7 @@ class SlideController(QtGui.QWidget): log.debug(u'addServiceItem') #If old item was a command tell it to stop if self.commandItem is not None and self.commandItem.service_item_type == ServiceType.Command: - Receiver().send_message(u'%s_stop'% self.item.name.lower()) + Receiver().send_message(u'%s_stop'% self.commandItem.name.lower()) self.commandItem = item item.render() self.enableToolBar(item) @@ -258,7 +258,7 @@ class SlideController(QtGui.QWidget): log.debug(u'addServiceItem') #If old item was a command tell it to stop if self.commandItem is not None and self.commandItem.service_item_type == ServiceType.Command: - Receiver().send_message(u'%s_stop'% self.item.name.lower()) + Receiver().send_message(u'%s_stop'% self.commandItem.name.lower()) self.commandItem = item self.enableToolBar(item) if item.service_item_type == ServiceType.Command: