Setter for Modified attribute

This commit is contained in:
Yorik van Havre
2024-04-02 13:52:35 +02:00
committed by wwmayer
parent 57eeb029b7
commit 988e86731e
2 changed files with 6 additions and 1 deletions

View File

@@ -504,6 +504,11 @@ Py::Boolean DocumentPy::getModified() const
return {getDocumentPtr()->isModified()};
}
void DocumentPy::setModified(Py::Boolean arg)
{
getDocumentPtr()->setModified(arg);
}
PyObject *DocumentPy::getCustomAttributes(const char* attr) const
{
// Note: Here we want to return only a document object if its