mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:17:20 +08:00
[AFV] Ref T739, check if COM integration is used and make sure to use TX/RX defaults if NOT
There was a bug that COM integration was used although it was disabled
This commit is contained in:
@@ -319,9 +319,9 @@ namespace BlackGui
|
||||
void CSettingsSimulatorComponent::onApplyComSync()
|
||||
{
|
||||
bool ok = false;
|
||||
CSimulatorSettings settings = getSimulatorSettings(ok);
|
||||
CSimulatorSettings settings = this->getSimulatorSettings(ok);
|
||||
if (!ok || !settings.setComIntegrated(ui->cb_ComSync->isChecked())) { return; }
|
||||
setSimulatorSettings(settings);
|
||||
this->setSimulatorSettings(settings);
|
||||
}
|
||||
|
||||
void CSettingsSimulatorComponent::onApplyCGSource()
|
||||
@@ -330,7 +330,7 @@ namespace BlackGui
|
||||
const CSimulatorSettings::CGSource source = ui->comp_CGSourceSelector->getValue();
|
||||
CSimulatorSettings settings = getSimulatorSettings(ok);
|
||||
if (!ok || !settings.setCGSource(source)) { return; }
|
||||
setSimulatorSettings(settings);
|
||||
this->setSimulatorSettings(settings);
|
||||
}
|
||||
|
||||
void CSettingsSimulatorComponent::onApplyRecordGnd()
|
||||
|
||||
Reference in New Issue
Block a user