small changes

This commit is contained in:
Tomas Groth 2014-07-11 23:45:01 +02:00
parent 3edabb268e
commit 542fe4e887
4 changed files with 2 additions and 5 deletions

View File

@ -1278,7 +1278,7 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage
tree_widget_item.setToolTip(0, '<br>'.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

View File

@ -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):
"""

View File

@ -398,5 +398,5 @@ $.ajaxSetup({cache: false});
$("#search").live("pageinit", function (event) {
OpenLP.getSearchablePlugins();
});
setInterval("OpenLP.pollServer();", 30000);
setInterval("OpenLP.pollServer();", 500);
OpenLP.pollServer();

View File

@ -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__)