forked from openlp/openlp
Fix DnD bug
This commit is contained in:
parent
a7e8104f59
commit
dba32e3614
@ -1028,6 +1028,9 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
# ServiceManager started the drag and drop
|
# ServiceManager started the drag and drop
|
||||||
if plugin == u'ServiceManager':
|
if plugin == u'ServiceManager':
|
||||||
startpos, startCount = self.findServiceItem()
|
startpos, startCount = self.findServiceItem()
|
||||||
|
# If no items selected
|
||||||
|
if startpos == -1:
|
||||||
|
return
|
||||||
if item is None:
|
if item is None:
|
||||||
endpos = len(self.serviceItems)
|
endpos = len(self.serviceItems)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user