diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index adf6f31..a46e990 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -807,6 +807,7 @@ BOOST_PYTHON_MODULE(mobase) .def("isMaster", bpy::pure_virtual(&MOBase::IPluginList::isMaster)) .def("origin", bpy::pure_virtual(&MOBase::IPluginList::origin)) .def("onRefreshed", bpy::pure_virtual(&MOBase::IPluginList::onRefreshed)) + .def("onPluginMoved", bpy::pure_virtual(&MOBase::IPluginList::onPluginMoved)) ; bpy::to_python_converter>(); diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index a649c01..7c3c338 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -278,6 +278,7 @@ struct IPluginListWrapper: MOBase::IPluginList, boost::python::wrapperget_override("isMaster")(name); } virtual QString origin(const QString &name) const { return this->get_override("origin")(name); } virtual bool onRefreshed(const std::function &callback) { return this->get_override("onRefreshed")(callback); } + virtual bool onPluginMoved(const std::function &callback) { return this->get_override("onPluginMoved")(callback); } };