Fix DnD bug

This commit is contained in:
Tim Bentley 2010-11-28 13:41:52 +00:00
parent a7e8104f59
commit dba32e3614
1 changed files with 3 additions and 0 deletions

View File

@ -1028,6 +1028,9 @@ class ServiceManager(QtGui.QWidget):
# ServiceManager started the drag and drop
if plugin == u'ServiceManager':
startpos, startCount = self.findServiceItem()
# If no items selected
if startpos == -1:
return
if item is None:
endpos = len(self.serviceItems)
else: