forked from openlp/openlp
Fix preview bug
This commit is contained in:
parent
74bb054b83
commit
206eb1006e
@ -794,10 +794,11 @@ class SlideController(QtGui.QWidget):
|
|||||||
row = self.PreviewListWidget.currentRow()
|
row = self.PreviewListWidget.currentRow()
|
||||||
self.selectedRow = 0
|
self.selectedRow = 0
|
||||||
if row > -1 and row < self.PreviewListWidget.rowCount():
|
if row > -1 and row < self.PreviewListWidget.rowCount():
|
||||||
if self.serviceItem.is_command() and self.isLive:
|
if self.serviceItem.is_command():
|
||||||
Receiver.send_message(u'%s_slide' % self.serviceItem.name.lower(),
|
if self.isLive:
|
||||||
[self.serviceItem, self.isLive, row])
|
Receiver.send_message(u'%s_slide' % self.serviceItem.name.lower(),
|
||||||
self.updatePreview()
|
[self.serviceItem, self.isLive, row])
|
||||||
|
self.updatePreview()
|
||||||
else:
|
else:
|
||||||
toDisplay = self.serviceItem.get_rendered_frame(row)
|
toDisplay = self.serviceItem.get_rendered_frame(row)
|
||||||
if self.serviceItem.is_text():
|
if self.serviceItem.is_text():
|
||||||
|
Loading…
Reference in New Issue
Block a user