mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-13 19:57:11 +01:00
bugfix
This commit is contained in:
parent
336d69c043
commit
8d3557268f
@ -143,7 +143,7 @@ bool ModuleManager::instanceEnabled(std::string name) {
|
||||
std::string ModuleManager::getInstanceModuleName(std::string name) {
|
||||
if (instances.find(name) == instances.end()) {
|
||||
spdlog::error("Cannot get module name of'{0}', instance doesn't exist", name);
|
||||
return false;
|
||||
return "";
|
||||
}
|
||||
return std::string(instances[name].module.info->name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user