Check the path instead of the plugin name to check if a plugin was loaded.

This commit is contained in:
Maschell 2018-07-15 19:57:28 +02:00
parent 8c99eb42d1
commit d4371da0a3

View File

@ -116,7 +116,7 @@ ContentHome::ContentHome():ContentTemplate()
for (std::vector<PluginInformation *>::iterator itOther = pluginListLoaded.begin() ; itOther != pluginListLoaded.end(); ++itOther) {
PluginInformation * otherPlugin = *itOther;
if(otherPlugin->getName().compare(curPlugin->getName()) == 0) {
if(otherPlugin->getPath().compare(curPlugin->getPath()) == 0) {
element->setValue(true);
}
}