Skip to content

Commit

Permalink
Fixes #3706.
Browse files Browse the repository at this point in the history
Don't check components because we should not display class as missing one of components class is missing.
  • Loading branch information
adeas31 committed Feb 22, 2016
1 parent 2a62fa6 commit 73250df
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions OMEdit/OMEditGUI/Component/Component.cpp
Expand Up @@ -530,18 +530,21 @@ bool Component::hasNonExistingClass()
return nonExistingClassFound;
}
}
foreach (Component *pChildComponent, mComponentsList) {
nonExistingClassFound = pChildComponent->hasNonExistingClass();
if (nonExistingClassFound) {
return nonExistingClassFound;
}
foreach (Component *pInheritedComponent, pChildComponent->getInheritedComponentsList()) {
nonExistingClassFound = pInheritedComponent->hasNonExistingClass();
if (nonExistingClassFound) {
return nonExistingClassFound;
}
}
}
/* Ticket #3706
* Don't check components because we should not display class as missing one of components class is missing.
*/
// foreach (Component *pChildComponent, mComponentsList) {
// nonExistingClassFound = pChildComponent->hasNonExistingClass();
// if (nonExistingClassFound) {
// return nonExistingClassFound;
// }
// foreach (Component *pInheritedComponent, pChildComponent->getInheritedComponentsList()) {
// nonExistingClassFound = pInheritedComponent->hasNonExistingClass();
// if (nonExistingClassFound) {
// return nonExistingClassFound;
// }
// }
// }
return nonExistingClassFound;
}

Expand Down

0 comments on commit 73250df

Please sign in to comment.