diff --git a/src/App/Link.cpp b/src/App/Link.cpp index 7c8ad8d91e..471f90290e 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -476,9 +476,9 @@ void LinkBaseExtension::setOnChangeCopyObject( const char *key = flags.testFlag(OnChangeCopyOptions::ApplyAll) ? "*" : parent->getNameInDocument(); if (external) - prop->setValue(key, exclude ? nullptr : "+"); + prop->setValue(key, exclude ? "" : "+"); else - prop->setValue(key, exclude ? "-" : nullptr); + prop->setValue(key, exclude ? "-" : ""); } // The purpose of this function is to synchronize the mutated copy to the