diff --git a/openlp/core/lib/projector/pjlink1.py b/openlp/core/lib/projector/pjlink1.py index e82212215..6b5259929 100644 --- a/openlp/core/lib/projector/pjlink1.py +++ b/openlp/core/lib/projector/pjlink1.py @@ -761,7 +761,10 @@ class PJLink1(QTcpSocket): if abort: self.change_status(E_NOT_CONNECTED) else: - self.change_status(S_NOT_CONNECTED) + log.debug('(%s) disconnect_from_host() Current status %s' % (self.ip, + self._get_status(self.status_connect)[0])) + if self.status_connect != E_NOT_CONNECTED: + self.change_status(S_NOT_CONNECTED) self.reset_information() self.projectorUpdateIcons.emit() diff --git a/openlp/core/ui/projector/manager.py b/openlp/core/ui/projector/manager.py index 330d530d8..faf273b70 100644 --- a/openlp/core/ui/projector/manager.py +++ b/openlp/core/ui/projector/manager.py @@ -361,7 +361,8 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ProjectorMa for item in source_list.keys(): sort.append(item) sort.sort() - current = QtGui.QLabel(translate('OpenLP.ProjectorManager', 'Current source is %s' % source_list[projector.link.source])) + current = QtGui.QLabel(translate('OpenLP.ProjectorManager', 'Current source is %s' % + source_list[projector.link.source])) layout.addWidget(current) for item in sort: button = self._select_input_widget(parent=self,