From 687ca79e106f99175c506cfa71849d4a5e8bd8c2 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 21 Dec 2013 00:00:15 +0200 Subject: [PATCH] Fixed bug #1259606 by changing the signal from clicked() to itemSelectionChanged() Fixes: https://launchpad.net/bugs/1259606 --- openlp/core/ui/slidecontroller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 622f2c406..831cdc1d0 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -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'),