Gui: in repr() of MDIViewPy write the typeid name

This commit is contained in:
wmayer
2021-11-21 15:44:06 +01:00
parent d247b5b1e7
commit e0bc8de4b4
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ Py::Object MDIViewPy::repr()
std::ostringstream s_out;
if (!_view)
throw Py::RuntimeError("Cannot print representation of deleted object");
s_out << "MDIView";
s_out << _view->getTypeId().getName();
return Py::String(s_out.str());
}