mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #237, load first plugin if settings do not match, provide a warning if no plugin is loaded
This commit is contained in:
@@ -448,7 +448,11 @@ namespace BlackCore
|
||||
if (this->m_contextSettings)
|
||||
{
|
||||
connect(this->m_contextSettings, &IContextSettings::changedSettings, this->m_contextSimulator, &IContextSimulator::settingsChanged);
|
||||
this->m_contextSimulator->loadSimulatorPluginFromSettings();
|
||||
if (!this->m_contextSimulator->loadSimulatorPluginFromSettings())
|
||||
{
|
||||
qWarning() << "No simulator plugin loaded";
|
||||
this->sendStatusMessage(CStatusMessage::getWarningMessage("No simulator plugin loaded", CStatusMessage::TypeSimulator));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user