summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kit/ChildSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp
index ea7d26cd2..23224c3f8 100644
--- a/kit/ChildSession.cpp
+++ b/kit/ChildSession.cpp
@@ -582,7 +582,7 @@ bool ChildSession::loadDocument(const char * /*buffer*/, int /*length*/, const s
if (!doctemplate.empty())
{
std::string url = getJailedFilePath();
- bool success = getLOKitDocument()->saveAs(url.c_str(), nullptr, nullptr);
+ bool success = getLOKitDocument()->saveAs(url.c_str(), nullptr, "TakeOwnership");
if (!success)
{
LOG_ERR("Failed to save template [" << getJailedFilePath() << "].");