mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #768, allow to access view and filter of components
(required in wizard)
This commit is contained in:
@@ -48,6 +48,11 @@ namespace BlackGui
|
||||
CDbAircraftIcaoComponent::~CDbAircraftIcaoComponent()
|
||||
{ }
|
||||
|
||||
BlackGui::Views::CAircraftIcaoCodeView *CDbAircraftIcaoComponent::view() const
|
||||
{
|
||||
return ui->tvp_AircraftIcao;
|
||||
}
|
||||
|
||||
void CDbAircraftIcaoComponent::filter(const CAircraftIcaoCode &icao)
|
||||
{
|
||||
ui->filter_AircraftIcao->filter(icao);
|
||||
@@ -67,6 +72,5 @@ namespace BlackGui
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::AircraftIcaoEntity, QDateTime());
|
||||
}
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user