diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index f4afa4f..ef7b5b1 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -758,8 +758,7 @@ BOOST_PYTHON_MODULE(mobase) bpy::class_("IDownloadManager") .def("startDownloadURLs", bpy::pure_virtual(&IDownloadManager::startDownloadURLs)) - //not used? - //.def("startDownloadNexusFile", bpy::pure_virtual(&IDownloadManager::startDownloadNexusFile)) + .def("startDownloadNexusFile", bpy::pure_virtual(&IDownloadManager::startDownloadNexusFile)) .def("downloadPath", bpy::pure_virtual(&IDownloadManager::downloadPath)) ; diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 2e5c845..cba7061 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -243,8 +243,7 @@ struct IProfileWrapper: MOBase::IProfile, boost::python::wrapper { virtual int startDownloadURLs(const QStringList &urls) { return this->get_override("downloadURLs")(urls); } - //not used - //virtual int startDownloadNexusFile(int modID, int fileID) { return this->get_override("downloadNexusFile")(modID, fileID); } + virtual int startDownloadNexusFile(int modID, int fileID) { return this->get_override("downloadNexusFile")(modID, fileID); } virtual QString downloadPath(int id) { return this->get_override("downloadPath")(id); } };