mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T232 clear remote aircraft data once network disconnects
* blackconfig in .pro * verify function to detect dangling states * clear remote data when disconnected from network * there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network * it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
This commit is contained in:
@@ -213,7 +213,7 @@ namespace BlackSimPlugin
|
||||
|
||||
void CSimulatorEmulatedMonitorDialog::resetStatistics()
|
||||
{
|
||||
if (!m_simulator) { m_simulator->resetStatistics(); }
|
||||
if (!m_simulator) { m_simulator->resetAircraftStatistics(); }
|
||||
ui->le_PhysicallyAddedAircraft->clear();
|
||||
ui->le_PhysicallyRemovedAircraft->clear();
|
||||
ui->le_SituationAdded->clear();
|
||||
|
||||
Reference in New Issue
Block a user