1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

Introjucer: items which are not included in the project are now crossed-out.

This commit is contained in:
jules 2012-12-18 10:33:54 +00:00
parent 2ae82c4db4
commit 80dc4c57b0
14 changed files with 93 additions and 116 deletions

View file

@ -271,9 +271,10 @@ bool ModuleList::Module::operator!= (const Module& other) const
LibraryModule* ModuleList::loadModule (const String& uid) const
{
const Module* const m = findModuleInfo (uid);
if (const Module* const m = findModuleInfo (uid))
return m->create();
return m != nullptr ? m->create() : nullptr;
return nullptr;
}
const ModuleList::Module* ModuleList::findModuleInfo (const String& uid) const