Fixing repr for App/Document and Gui/Document
This commit is contained in:
@@ -116,7 +116,7 @@ PyObject* DocumentPy::removeProperty(PyObject* args)
|
||||
std::string DocumentPy::representation() const
|
||||
{
|
||||
std::stringstream str;
|
||||
str << "<Document object at " << getDocumentPtr() << ">";
|
||||
str << "<Document '" << getDocumentPtr()->getName() << "' (" << getDocumentPtr()->Label.getValue() << ") >";
|
||||
|
||||
return str.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user