diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index 0ba59aaa0..ffb225c57 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -1278,7 +1278,7 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage tree_widget_item.setToolTip(0, '
'.join(tips)) tree_widget_item.setData(0, QtCore.Qt.UserRole, item['order']) tree_widget_item.setSelected(item['selected']) - # Add the children to their parent tree_widget)item. + # Add the children to their parent tree_widget_item. for count, frame in enumerate(service_item_from_item.get_frames()): child = QtGui.QTreeWidgetItem(tree_widget_item) # prefer to use a display_title diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 31005fe26..975be73de 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -1035,8 +1035,6 @@ class SlideController(DisplayController, RegistryProperties): self.update_preview() self.preview_widget.change_slide(row) self.display.setFocus() - if self.type_prefix == 'live': - Registry().execute('websock_send', '') def on_slide_change(self, row): """ diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index a1e3cc1fd..4b6c7f935 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -398,5 +398,5 @@ $.ajaxSetup({cache: false}); $("#search").live("pageinit", function (event) { OpenLP.getSearchablePlugins(); }); -setInterval("OpenLP.pollServer();", 30000); +setInterval("OpenLP.pollServer();", 500); OpenLP.pollServer(); diff --git a/openlp/plugins/remotes/remoteplugin.py b/openlp/plugins/remotes/remoteplugin.py index 7b82c1fd1..582192df4 100644 --- a/openlp/plugins/remotes/remoteplugin.py +++ b/openlp/plugins/remotes/remoteplugin.py @@ -32,7 +32,6 @@ import logging from PyQt4 import QtGui from openlp.core.lib import Plugin, StringContent, translate, build_icon -from openlp.core.common import Registry from openlp.plugins.remotes.lib import RemoteTab, OpenLPServer log = logging.getLogger(__name__)