From da6f88a7ae967314cd9a0e0920496439062df54a Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 2 Apr 2015 21:49:19 +0100 Subject: [PATCH] Mark a custom slide edited from preview as coming from plugin. Fixes bug 1439671. Fixes: https://launchpad.net/bugs/1439671 --- openlp/plugins/custom/lib/mediaitem.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openlp/plugins/custom/lib/mediaitem.py b/openlp/plugins/custom/lib/mediaitem.py index 8667292ec..dc0411ad8 100644 --- a/openlp/plugins/custom/lib/mediaitem.py +++ b/openlp/plugins/custom/lib/mediaitem.py @@ -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