Comment cleanup / Improvements

This commit is contained in:
suutari-olli 2016-06-27 02:20:57 +03:00
parent 68b4d62502
commit 6078e28171
2 changed files with 2 additions and 4 deletions

View File

@ -656,8 +656,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, RegistryProperties):
""" """
Give all the plugins a chance to perform some tasks at startup 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() self.application.process_events()
for plugin in self.plugin_manager.plugins: for plugin in self.plugin_manager.plugins:
if plugin.is_active(): if plugin.is_active():

View File

@ -1395,8 +1395,8 @@ class SlideController(DisplayController, RegistryProperties):
self.on_media_close() self.on_media_close()
self.on_go_live() self.on_go_live()
# If ('advanced/double click live') is not enabled, double clicking preview adds the item to Service. # 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 # Prevent same item in preview from being sent to Service multiple times.
# this setting. Sending to preview from Service does not reset this setting, this is a design choise. # 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. # 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: elif not Registry().get_flag('has doubleclick added item to service') == True:
self.on_preview_add_to_service() self.on_preview_add_to_service()