Commit 8f595261 authored by Don Gagne's avatar Don Gagne

Incorrect comparison

Hard to believe you could screw up something so easy!
parent df49f36e
......@@ -349,7 +349,7 @@ int ParameterLoader::_actualComponentId(int componentId)
{
if (componentId == FactSystem::defaultComponentId) {
componentId = _defaultComponentId;
if (componentId != FactSystem::defaultComponentId) {
if (componentId == FactSystem::defaultComponentId) {
qWarning() << "Default component id not set";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment