Fixed bug #1259606 by changing the signal from clicked() to itemSelectionChanged()

Fixes: https://launchpad.net/bugs/1259606
This commit is contained in:
Raoul Snyman 2013-12-21 00:00:15 +02:00
parent 7fc411f614
commit 687ca79e10
1 changed files with 2 additions and 1 deletions

View File

@ -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'),