mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Fixed reload all DB data issue reported by MS on slack
* use triggerReloadFromDb * improved documentation MS report: `AllDbEntities` should be `AllDbEntitiesNoInfoObjects` in `CDataInfoAreaComponent::requestUpdateOfAllDbData`? Otherwise it triggers assert `!whatToRead.testFlag(CEntityFlags::InfoObjectEntity)` in `CWebDataServices::triggerRead`.
This commit is contained in:
@@ -165,7 +165,7 @@ namespace BlackGui
|
||||
|
||||
void CDataInfoAreaComponent::requestUpdateOfAllDbData()
|
||||
{
|
||||
sGui->getWebDataServices()->triggerRead(CEntityFlags::AllDbEntities, QDateTime());
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AllDbEntitiesNoInfoObjectsNoAirports, QDateTime());
|
||||
}
|
||||
|
||||
void CDataInfoAreaComponent::requestUpdatedData(CEntityFlags::Entity entity)
|
||||
|
||||
Reference in New Issue
Block a user