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,
|
def generateSlideData(self, service_item, item=None, xmlVersion=False,
|
||||||
remote=False):
|
remote=False):
|
||||||
log.debug(u'generateSlideData: %s, %s, %s' % (service_item, item, self.remoteSong))
|
log.debug(u'generateSlideData: %s, %s, %s' %
|
||||||
# The ``None`` below is a workaround for bug #812289 - I think that Qt
|
(service_item, item, self.remoteSong))
|
||||||
# deletes the item somewhere along the line because the user is taking
|
item_id = self._getIdOfItemToGenerate(item, self.remoteSong)
|
||||||
# so long to update their item (or something weird like that).
|
|
||||||
item_id = self._getIdOfItemToGenerate(None, self.remoteSong)
|
|
||||||
service_item.add_capability(ItemCapabilities.CanEdit)
|
service_item.add_capability(ItemCapabilities.CanEdit)
|
||||||
service_item.add_capability(ItemCapabilities.CanPreview)
|
service_item.add_capability(ItemCapabilities.CanPreview)
|
||||||
service_item.add_capability(ItemCapabilities.CanLoop)
|
service_item.add_capability(ItemCapabilities.CanLoop)
|
||||||
|
Loading…
Reference in New Issue
Block a user