Fixing repr for App/Document and Gui/Document

This commit is contained in:
Steven James
2025-10-01 13:57:06 -04:00
parent 29d1f580fa
commit 84c50f5794
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ using namespace Gui;
std::string DocumentPy::representation() const
{
std::stringstream str;
str << "<GUI Document object at " << getDocumentPtr() << ">";
str << "<GUI Document object for " << getDocumentPtr()->getDocument()->getName() << ">";
return str.str();
}