Ref T686 Adding check for model set before adding plane to FG.

This commit is contained in:
Lars Toenning
2019-06-19 16:22:35 +02:00
committed by Mat Sutcliffe
parent 67b9e4f560
commit 680a663444

View File

@@ -898,6 +898,7 @@ namespace BlackSimPlugin
bool CSimulatorFlightgear::canAddAircraft() const
{
if (this->getModelSet().isEmpty()) { return false; }
if (m_addingInProgressAircraft.isEmpty()) { return true; }
// check