forked from openlp/openlp
When a user clicks on the row headers (yes, in 4 years no one has done that), the row is selected but the slide doesn't change. This fixes that.
bzr-revno: 2181 Fixes: https://launchpad.net/bugs/1259606
This commit is contained in:
commit
e29f76f02c
@ -44,6 +44,7 @@ from openlp.core.utils.actions import ActionList, CategoryOrder
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SlideList(QtGui.QTableWidget):
|
||||
"""
|
||||
Customised version of QTableWidget which can respond to keyboard
|
||||
@ -390,7 +391,7 @@ class SlideController(Controller):
|
||||
self._slideShortcutActivated)
|
||||
# Signals
|
||||
QtCore.QObject.connect(self.previewListWidget,
|
||||
QtCore.SIGNAL(u'clicked(QModelIndex)'), self.onSlideSelected)
|
||||
QtCore.SIGNAL(u'itemSelectionChanged()'), self.onSlideSelected)
|
||||
if self.isLive:
|
||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||
QtCore.SIGNAL(u'slidecontroller_live_spin_delay'),
|
||||
|
Loading…
Reference in New Issue
Block a user