From 99c7566f98a7a47383c8b7860beda3dc730163e9 Mon Sep 17 00:00:00 2001 From: Ken Roberts Date: Thu, 16 Oct 2014 13:33:29 -0700 Subject: [PATCH] Update source selection as soon as power is on --- openlp/core/lib/projector/pjlink1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/lib/projector/pjlink1.py b/openlp/core/lib/projector/pjlink1.py index 0cd2a6c9e..5827b068a 100644 --- a/openlp/core/lib/projector/pjlink1.py +++ b/openlp/core/lib/projector/pjlink1.py @@ -593,6 +593,9 @@ class PJLink1(QTcpSocket): self.change_status(PJLINK_POWR_STATUS[data]) if update_icons: self.projectorUpdateIcons.emit() + # Update the input sources available + if power == S_ON: + self.send_command('INST') else: # Log unknown status response log.warn('Unknown power response: %s' % data)