mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Functions to select distributor/ICAO in component
This commit is contained in:
committed by
Mat Sutcliffe
parent
30b65d6c36
commit
5eeb29bafe
@@ -59,6 +59,12 @@ namespace BlackGui
|
||||
ui->filter_AircraftIcao->filter(icao);
|
||||
}
|
||||
|
||||
bool CDbAircraftIcaoComponent::selectAircraftIcao(const CAircraftIcaoCode &icao)
|
||||
{
|
||||
if (!icao.isLoadedFromDb()) { return false; }
|
||||
return ui->tvp_AircraftIcao->selectDbKey(icao.getDbKey());
|
||||
}
|
||||
|
||||
void CDbAircraftIcaoComponent::onIcaoRead(CEntityFlags::Entity entity, CEntityFlags::ReadState readState, int count)
|
||||
{
|
||||
Q_UNUSED(count);
|
||||
|
||||
Reference in New Issue
Block a user