Gui: in repr() of MDIViewPy write the typeid name
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -681,7 +681,7 @@ void DrawingView::viewAll()
|
||||
|
||||
PyObject* DrawingView::getPyObject()
|
||||
{
|
||||
Py_Return;
|
||||
return Gui::MDIView::getPyObject();
|
||||
}
|
||||
|
||||
#include "moc_DrawingView.cpp"
|
||||
|
||||
Reference in New Issue
Block a user