Ref T430, follow ups of FG integration fixing wrong distributor handling

* fixing a bug where the radio button and check box names got mixed
* removed code for FG disabling
* style

Backend T576
This commit is contained in:
Klaus Basan
2019-03-23 18:06:59 +01:00
committed by Mat Sutcliffe
parent cdca20abe9
commit 3988fbdb32
9 changed files with 15 additions and 35 deletions

View File

@@ -325,7 +325,7 @@ namespace BlackGui
}
menuActions.addAction(m_loadActions[3], CMenuAction::pathSimulator());
}
if (CBuildConfig::supportFlightGear() && sims.isFG())
if (sims.isFG())
{
if (!m_loadActions[4])
{
@@ -458,7 +458,7 @@ namespace BlackGui
menuActions.addAction(m_reloadActions[7], CMenuAction::pathSimulatorModelsReload());
}
if (CBuildConfig::supportFlightGear() && sims.isFG())
if (sims.isFG())
{
if (!m_reloadActions[8])
{
@@ -551,7 +551,7 @@ namespace BlackGui
}
menuActions.addAction(m_clearCacheActions[3], CMenuAction::pathSimulatorModelsClearCache());
}
if (CBuildConfig::supportFlightGear() && sims.isFG())
if (sims.isFG())
{
if (!m_clearCacheActions[4])
{