mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
[XSwiftBus] Allow to write an updated xswiftbus.conf file
In a distributed core/UI swift we need to write on XPlane side
This commit is contained in:
committed by
Mat Sutcliffe
parent
80e97f749f
commit
fd3ad207bd
@@ -258,8 +258,10 @@ namespace XSwiftBus
|
||||
CSettings s;
|
||||
s.parseXSwiftBusString(jsonString);
|
||||
this->setSettings(s);
|
||||
const bool w = this->writeConfig(s.isTcasEnabled(), s.isLogRenderPhases());
|
||||
this->updateMessageBoxFromSettings();
|
||||
INFO_LOG("Received settings " + s.convertToString());
|
||||
if (w) { INFO_LOG("Written new config file"); }
|
||||
}
|
||||
|
||||
void CService::readAirportsDatabase()
|
||||
|
||||
Reference in New Issue
Block a user