forked from openlp/openlp
Mark a custom slide edited from preview as coming from plugin. Fixes bug 1439671.
Fixes: https://launchpad.net/bugs/1439671
This commit is contained in:
parent
589bc98bec
commit
da6f88a7ae
@ -158,6 +158,10 @@ class CustomMediaItem(MediaManagerItem):
|
||||
self.remote_triggered = None
|
||||
self.remote_custom = 1
|
||||
if item:
|
||||
if preview:
|
||||
# A custom slide 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 None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user