From 6078e2817107b6cf47417e421cf8249b3cbf4bd0 Mon Sep 17 00:00:00 2001 From: suutari-olli Date: Mon, 27 Jun 2016 02:20:57 +0300 Subject: [PATCH] Comment cleanup / Improvements --- openlp/core/ui/mainwindow.py | 2 -- openlp/core/ui/slidecontroller.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 4729edf79..ccd12727c 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -656,8 +656,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, RegistryProperties): """ Give all the plugins a chance to perform some tasks at startup """ - # This setting is set to false, in case def replace_service_manager_item in slidecontroller would crash the - # program and make blank to modes unavailable. self.application.process_events() for plugin in self.plugin_manager.plugins: if plugin.is_active(): diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index e740502a1..b29543319 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -1395,8 +1395,8 @@ class SlideController(DisplayController, RegistryProperties): self.on_media_close() 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. Sending to preview from Service does not reset this setting, this is a design choise. + # Prevent same item in preview from being sent to Service multiple times. + # Changing the preview slide resets this flag to False. # Do note that this still allows to add item to Service multiple times if icon is clicked. elif not Registry().get_flag('has doubleclick added item to service') == True: self.on_preview_add_to_service()