fixed foolish mistake

This commit is contained in:
Mathew Sutcliffe
2014-06-26 23:30:04 +01:00
parent 997eb17f96
commit e2c37b2f16

View File

@@ -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