diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index e8e3977..bb3a5e0 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -1302,7 +1302,7 @@ BOOST_PYTHON_MODULE(mobase) bpy::class_("IPluginInstallerSimple") .def("install", &IPluginInstallerSimple::install) - .def("parentWidget", &IPluginInstallerSimpleWrapper::parentWidget, bpy::return_value_policy()) + .def("parentWidget", &IPluginInstallerSimpleWrapper::parentWidget, bpy::return_value_policy()) .def("manager", &IPluginInstallerSimpleWrapper::manager, bpy::return_value_policy()) ; @@ -1310,7 +1310,7 @@ BOOST_PYTHON_MODULE(mobase) .def("isArchiveSupported", &IPluginInstallerCustom::isArchiveSupported) .def("supportedExtensions", &IPluginInstallerCustom::supportedExtensions) .def("install", &IPluginInstallerCustom::install) - .def("parentWidget", &IPluginInstallerCustomWrapper::parentWidget, bpy::return_value_policy()) + .def("parentWidget", &IPluginInstallerSimpleWrapper::parentWidget, bpy::return_value_policy()) .def("manager", &IPluginInstallerCustomWrapper::manager, bpy::return_value_policy()) ;