From 5dbb69430f23d62adc78ab410cdf2850101f83be Mon Sep 17 00:00:00 2001 From: suutari-olli Date: Sun, 17 Apr 2016 04:36:53 +0300 Subject: [PATCH] Fixed bug 1462420 (Double click on the preview duplicated the element in the service manger) - Added a hidden setting for controlling this behaviour. It is reset if any item is sent to preview from library. Sending the same item to service multiple times is still possible by using the "Add icon" --- openlp/core/ui/slidecontroller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index c06506795..10e6cf25b 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -1374,7 +1374,8 @@ class SlideController(DisplayController, RegistryProperties): self.on_go_live() # 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. Changing preview slide resets - # this setting. Do note that this still allows to add item to Service multiple times if icon is clicked. + # this setting. Sending to preview from Service does not reset this setting, this is a design choise. + # Do note that this still allows to add item to Service multiple times if icon is clicked. elif not Settings().value('core/doubleclicking preview has added to service'): self.on_preview_add_to_service() Settings().setValue('core/doubleclicking preview has added to service', True)