mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #297 Added new network settings.
This commit is contained in:
@@ -141,7 +141,7 @@ namespace BlackGui
|
||||
ps_validateAircraftValues();
|
||||
ps_validateVatsimValues();
|
||||
ps_onVatsimDataFileLoaded();
|
||||
CServerList otherServers = this->getIContextSettings()->getNetworkSettings().getTrafficNetworkServers();
|
||||
CServerList otherServers = this->m_trafficNetworkServers.get();
|
||||
this->ui->cbp_OtherServers->setServers(otherServers);
|
||||
}
|
||||
|
||||
@@ -447,7 +447,7 @@ namespace BlackGui
|
||||
void CLoginComponent::ps_onSettingsChanged(uint settingsType)
|
||||
{
|
||||
if (settingsType != static_cast<uint>(IContextSettings::SettingsNetwork)) { return; }
|
||||
CServerList otherServers = this->getIContextSettings()->getNetworkSettings().getTrafficNetworkServers();
|
||||
CServerList otherServers = this->m_trafficNetworkServers.get();
|
||||
this->ui->cbp_OtherServers->setServers(otherServers);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user