This commit is contained in:
Tim Bentley 2014-01-18 07:56:50 +00:00
commit 1e9ea145e3

View File

@ -391,7 +391,9 @@ class SlideController(Controller):
self._slideShortcutActivated)
# Signals
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:
QtCore.QObject.connect(Receiver.get_receiver(),
QtCore.SIGNAL(u'slidecontroller_live_spin_delay'),
@ -1083,7 +1085,7 @@ class SlideController(Controller):
else:
Receiver.send_message(u'live_display_show')
def onSlideSelected(self):
def onSlideSelected(self, index):
"""
Slide selected in controller
"""