forked from openlp/openlp
Bug #967522: Don't drag from empty service manager area
bzr-revno: 1929 Fixes: https://launchpad.net/bugs/967522
This commit is contained in:
commit
a57289da8c
@ -77,7 +77,7 @@ class ServiceManagerList(QtGui.QTreeWidget):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user