From d5838c7560a5dd87e9db17e61635b9877a47a266 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 16 Jun 2014 21:49:57 +0200 Subject: [PATCH] - added pseudo-categories to filter for mo-managed vs. unmanaged mods - deleted mods are now moved to the recycle bin instead of being deleted permanently - reduced modinfo dialog for foreign mods - foreign mods are now displayed with a pseudo-category - added a signal when a plugin is moved - bugfix: refreshing of directory structure for mods with bsas didn't work correctly when enabling a mod and on changing display of foreign mods - bugfix: one mod in the list was assigned the same priority on the directory structure as the data directory - bugfix: conflicts tab in the mod info dialog offered the hide option for files in bsas --- src/runner/pythonrunner.cpp | 1 + src/runner/uibasewrappers.h | 1 + 2 files changed, 2 insertions(+) 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); } };