mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #728, hide load indicator when no vPilot rules are loaded
This commit is contained in:
committed by
Mathew Sutcliffe
parent
364914cc31
commit
d10fe5ad18
@@ -532,7 +532,7 @@ namespace BlackGui
|
||||
{
|
||||
CLogMessage(this).error("Loading vPilot ruleset failed");
|
||||
}
|
||||
this->ui->comp_OwnAircraftModels->view()->hideLoadIndicator();
|
||||
this->ui->tvp_AircraftModelsForVPilot->hideLoadIndicator();
|
||||
}
|
||||
|
||||
void CDbMappingComponent::ps_onVPilotCacheChanged()
|
||||
@@ -541,6 +541,10 @@ namespace BlackGui
|
||||
{
|
||||
this->ui->tvp_AircraftModelsForVPilot->updateContainerMaybeAsync(this->m_vPilotReader.getAsModelsFromCache());
|
||||
}
|
||||
else
|
||||
{
|
||||
this->ui->tvp_AircraftModelsForVPilot->hideLoadIndicator();
|
||||
}
|
||||
}
|
||||
|
||||
void CDbMappingComponent::ps_requestVPilotDataUpdate()
|
||||
|
||||
Reference in New Issue
Block a user