mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
[UI] Menu separator
This commit is contained in:
committed by
Mat Sutcliffe
parent
ce9b9e3e5b
commit
9eaeb0f52b
@@ -113,6 +113,7 @@ namespace BlackGui
|
|||||||
if (m_withMenuHighlightAndFollow)
|
if (m_withMenuHighlightAndFollow)
|
||||||
{
|
{
|
||||||
menuActions.addAction(CIcons::appAircraft16(), "Follow in simulator", CMenuAction::pathClientSimulationDisplay(), { this, &CSimulatedAircraftView::requestFollowInSimulator });
|
menuActions.addAction(CIcons::appAircraft16(), "Follow in simulator", CMenuAction::pathClientSimulationDisplay(), { this, &CSimulatedAircraftView::requestFollowInSimulator });
|
||||||
|
if (!menuActions.isEmpty()) { menuActions.addSeparator(CMenuAction::pathClientSimulationDisplay()); }
|
||||||
menuActions.addAction(CIcons::appSimulator16(), "Highlight in simulator", CMenuAction::pathClientSimulationDisplay(), { this, &CSimulatedAircraftView::requestHighlightInSimulator });
|
menuActions.addAction(CIcons::appSimulator16(), "Highlight in simulator", CMenuAction::pathClientSimulationDisplay(), { this, &CSimulatedAircraftView::requestHighlightInSimulator });
|
||||||
}
|
}
|
||||||
if (m_withMenuEnableGndFlag)
|
if (m_withMenuEnableGndFlag)
|
||||||
|
|||||||
Reference in New Issue
Block a user