From e2c37b2f169ec832e940b95202d13bb7362cd36f Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Thu, 26 Jun 2014 23:30:04 +0100 Subject: [PATCH] fixed foolish mistake --- src/blackcore/context_simulator_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackcore/context_simulator_impl.cpp b/src/blackcore/context_simulator_impl.cpp index 69e080899..4eef29bd1 100644 --- a/src/blackcore/context_simulator_impl.cpp +++ b/src/blackcore/context_simulator_impl.cpp @@ -137,7 +137,7 @@ namespace BlackCore aircraft.setCockpit(simulatorAircraft.getCom1System(), simulatorAircraft.getCom2System(), simulatorAircraft.getTransponderCode()); Q_ASSERT(this->getIContextOwnAircraft()); // paranoia against context having been deleted from another thread - redmine issue #270 - if (!this->getIContextOwnAircraft()) + if (this->getIContextOwnAircraft()) { // the method will check, if an update is really required // these are local (non DBus) calls