From 7edcc02f152a085de863b86dca41b7b8170dcc7a Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Wed, 17 Jan 2018 11:48:50 +0100 Subject: [PATCH] Return the plugin info of the emulated simulator rather than emulated itself --- src/blackcore/context/contextsimulatorimpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/blackcore/context/contextsimulatorimpl.cpp b/src/blackcore/context/contextsimulatorimpl.cpp index c347851bc..0ea379897 100644 --- a/src/blackcore/context/contextsimulatorimpl.cpp +++ b/src/blackcore/context/contextsimulatorimpl.cpp @@ -125,6 +125,7 @@ namespace BlackCore if (m_simulatorPlugin.first.isUnspecified()) { return BlackMisc::Simulation::CSimulatorPluginInfo(); } Q_ASSERT(m_simulatorPlugin.second); + if (m_simulatorPlugin.first.getSimulator() == "emulated") { return m_simulatorPlugin.second->getSimulatorPluginInfo(); } return m_simulatorPlugin.first; }