Fix: bad loader instancfe created for COM files
This commit is contained in:
parent
9c6dfd676e
commit
bc654cbf76
@ -38,7 +38,7 @@ bool LoaderSelection::execute(CommandContext * ctx)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(com_loader.canLoad(finfo)) {
|
if(com_loader.canLoad(finfo)) {
|
||||||
proj->setLoader(new ExeLoader);
|
proj->setLoader(new ComLoader);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
ctx->recordFailure(this,QString("None of the available loaders can load file %1").arg(m_filename));
|
ctx->recordFailure(this,QString("None of the available loaders can load file %1").arg(m_filename));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user