forked from openlp/openlp
Mark a song edited from preview as coming from plugin. Fixes bug 1382672
Fixes: https://launchpad.net/bugs/1382672
This commit is contained in:
parent
f609be65bc
commit
b7e3a33c4a
@ -339,6 +339,9 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
self.remote_song = -1
|
self.remote_song = -1
|
||||||
self.remote_triggered = None
|
self.remote_triggered = None
|
||||||
if item:
|
if item:
|
||||||
|
if preview:
|
||||||
|
# A song can only be edited if it comes from plugin, so we set it again for the new item.
|
||||||
|
item.from_plugin = True
|
||||||
return item
|
return item
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user