mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T710 Propagate libxplanemp CSL load error messages as swift validation errors.
This commit is contained in:
@@ -595,7 +595,11 @@ namespace BlackSimPlugin
|
||||
{
|
||||
if (CDirectoryUtils::isSameOrSubDirectoryOf(package, simDir))
|
||||
{
|
||||
m_trafficProxy->loadPlanesPackage(package);
|
||||
const QString message = m_trafficProxy->loadPlanesPackage(package);
|
||||
if (!message.isEmpty())
|
||||
{
|
||||
CLogMessage(this).validationError(u"CSL package '%1' xpmp error: %2") << package << message;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user