Update source selection as soon as power is on

This commit is contained in:
Ken Roberts 2014-10-16 13:33:29 -07:00
parent 77040050f4
commit 99c7566f98

View File

@ -593,6 +593,9 @@ class PJLink1(QTcpSocket):
self.change_status(PJLINK_POWR_STATUS[data]) self.change_status(PJLINK_POWR_STATUS[data])
if update_icons: if update_icons:
self.projectorUpdateIcons.emit() self.projectorUpdateIcons.emit()
# Update the input sources available
if power == S_ON:
self.send_command('INST')
else: else:
# Log unknown status response # Log unknown status response
log.warn('Unknown power response: %s' % data) log.warn('Unknown power response: %s' % data)