forked from openlp/openlp
Fix authentication send, added current source to source select dialog
This commit is contained in:
parent
054be0135a
commit
c1415bb891
@ -450,7 +450,7 @@ class PJLink1(QTcpSocket):
|
||||
if salt is None:
|
||||
out = '%s%s %s%s' % (PJLINK_HEADER, cmd, opts, CR)
|
||||
else:
|
||||
out = '%s%s %s%s' % (salt, cmd, opts, CR)
|
||||
out = '%s%s%s %s%s' % (salt, PJLINK_HEADER, cmd, opts, CR)
|
||||
if out in self.send_queue:
|
||||
# Already there, so don't add
|
||||
log.debug('(%s) send_command(out="%s") Already in queue - skipping' % (self.ip, out.strip()))
|
||||
|
@ -361,6 +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]))
|
||||
layout.addWidget(current)
|
||||
for item in sort:
|
||||
button = self._select_input_widget(parent=self,
|
||||
selected=projector.link.source,
|
||||
|
Loading…
Reference in New Issue
Block a user