mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
Ref T272, network can add as ECO system provider (the server connected knows its ECO system)
This commit is contained in:
@@ -277,6 +277,7 @@ namespace BlackCore
|
||||
if (m_status == vatStatusConnected)
|
||||
{
|
||||
m_server.setConnectedSinceNow();
|
||||
this->setCurrentEcosystem(m_server.getEcosystem());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -287,6 +288,8 @@ namespace BlackCore
|
||||
{
|
||||
this->stopPositionTimers();
|
||||
this->clearState();
|
||||
this->setLastEcosystem(m_server.getEcosystem());
|
||||
this->setCurrentEcosystem(CEcosystem::NoSystem);
|
||||
}
|
||||
|
||||
emit this->connectionStatusChanged(convertConnectionStatus(status), convertConnectionStatus(m_status));
|
||||
|
||||
Reference in New Issue
Block a user