mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Ref T397, do not show context menu for fast position updates if FSD has disabled it
This commit is contained in:
@@ -53,6 +53,11 @@ namespace BlackGui
|
||||
m_withMenuEnableGndFlag = menuGndFlag;
|
||||
}
|
||||
|
||||
void CSimulatedAircraftView::configureMenuFastPositionUpdates(bool menuFastPositionUpdates)
|
||||
{
|
||||
m_withMenuFastPosition = menuFastPositionUpdates;
|
||||
}
|
||||
|
||||
void CSimulatedAircraftView::customMenu(CMenuActions &menuActions)
|
||||
{
|
||||
// sub menus, only adding the path, the content will be added below
|
||||
|
||||
@@ -50,9 +50,12 @@ namespace BlackGui
|
||||
//! Mode
|
||||
void setAircraftMode(Models::CSimulatedAircraftListModel::AircraftMode mode);
|
||||
|
||||
//! configure the menu
|
||||
//! Configure the menu
|
||||
void configureMenu(bool menuHighlightAndFollow, bool menuEnableAircraft, bool menuFastPositionUpdates, bool menuGndFlag);
|
||||
|
||||
//! Configure fast position updates menu
|
||||
void configureMenuFastPositionUpdates(bool menuFastPositionUpdates);
|
||||
|
||||
signals:
|
||||
//! Request a text message
|
||||
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
Reference in New Issue
Block a user