openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #14978
[Merge] lp:~m2j/openlp/bug-967522 into lp:openlp
Meinert Jordan has proposed merging lp:~m2j/openlp/bug-967522 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~m2j/openlp/bug-967522/+merge/100399
Bug #967522: Don't drag from empty service manager area
--
https://code.launchpad.net/~m2j/openlp/bug-967522/+merge/100399
Your team OpenLP Core is requested to review the proposed merge of lp:~m2j/openlp/bug-967522 into lp:openlp.
=== modified file 'openlp/core/ui/servicemanager.py'
--- openlp/core/ui/servicemanager.py 2012-03-18 21:20:58 +0000
+++ openlp/core/ui/servicemanager.py 2012-04-02 12:41:19 +0000
@@ -77,7 +77,7 @@
if event.buttons() != QtCore.Qt.LeftButton:
event.ignore()
return
- if not self.selectedItems():
+ if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())):
event.ignore()
return
drag = QtGui.QDrag(self)
Follow ups