forked from openlp/openlp
Fix Dnd for songs
bzr-revno: 1761
This commit is contained in:
commit
c92679416e
@ -428,11 +428,9 @@ class SongMediaItem(MediaManagerItem):
|
||||
|
||||
def generateSlideData(self, service_item, item=None, xmlVersion=False,
|
||||
remote=False):
|
||||
log.debug(u'generateSlideData: %s, %s, %s' % (service_item, item, self.remoteSong))
|
||||
# The ``None`` below is a workaround for bug #812289 - I think that Qt
|
||||
# deletes the item somewhere along the line because the user is taking
|
||||
# so long to update their item (or something weird like that).
|
||||
item_id = self._getIdOfItemToGenerate(None, self.remoteSong)
|
||||
log.debug(u'generateSlideData: %s, %s, %s' %
|
||||
(service_item, item, self.remoteSong))
|
||||
item_id = self._getIdOfItemToGenerate(item, self.remoteSong)
|
||||
service_item.add_capability(ItemCapabilities.CanEdit)
|
||||
service_item.add_capability(ItemCapabilities.CanPreview)
|
||||
service_item.add_capability(ItemCapabilities.CanLoop)
|
||||
|
Loading…
Reference in New Issue
Block a user