mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Ref T397, add menu items for aircraft view
This commit is contained in:
@@ -49,7 +49,7 @@ namespace BlackGui
|
||||
ui->tvp_AirportsInRange->setResizeMode(CAirportView::ResizingOnce);
|
||||
|
||||
ui->tvp_AircraftInRange->setAircraftMode(CSimulatedAircraftListModel::NetworkMode);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, false, false, false);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, false, true, true);
|
||||
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::modelDataChangedDigest, this, &CAircraftComponent::onRowCountChanged);
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::requestTextMessageWidget, this, &CAircraftComponent::requestTextMessageWidget);
|
||||
|
||||
@@ -55,6 +55,8 @@ namespace BlackGui
|
||||
|
||||
void CSimulatedAircraftView::customMenu(CMenuActions &menuActions)
|
||||
{
|
||||
// sub menus, only adding the path, the content will be added below
|
||||
// => configureMenu
|
||||
menuActions.addMenuDisplayModels();
|
||||
menuActions.addMenuDataTransfer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user