forked from openlp/openlp
Head
This commit is contained in:
commit
1e9ea145e3
@ -391,7 +391,9 @@ class SlideController(Controller):
|
|||||||
self._slideShortcutActivated)
|
self._slideShortcutActivated)
|
||||||
# Signals
|
# Signals
|
||||||
QtCore.QObject.connect(self.previewListWidget,
|
QtCore.QObject.connect(self.previewListWidget,
|
||||||
QtCore.SIGNAL(u'itemSelectionChanged()'), self.onSlideSelected)
|
QtCore.SIGNAL(u'clicked(QModelIndex)'), self.onSlideSelected)
|
||||||
|
QtCore.QObject.connect(self.previewListWidget.verticalHeader(),
|
||||||
|
QtCore.SIGNAL(u'sectionClicked(int)'), self.onSlideSelected)
|
||||||
if self.isLive:
|
if self.isLive:
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||||
QtCore.SIGNAL(u'slidecontroller_live_spin_delay'),
|
QtCore.SIGNAL(u'slidecontroller_live_spin_delay'),
|
||||||
@ -1083,7 +1085,7 @@ class SlideController(Controller):
|
|||||||
else:
|
else:
|
||||||
Receiver.send_message(u'live_display_show')
|
Receiver.send_message(u'live_display_show')
|
||||||
|
|
||||||
def onSlideSelected(self):
|
def onSlideSelected(self, index):
|
||||||
"""
|
"""
|
||||||
Slide selected in controller
|
Slide selected in controller
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user