mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T362, style and minor fixes
This commit is contained in:
@@ -290,7 +290,10 @@ namespace BlackGui
|
||||
void CAircraftModelView::customMenu(CMenuActions &menuActions)
|
||||
{
|
||||
// Statistics
|
||||
menuActions.addAction(CIcons::appAircraft16(), "Model statistics", CMenuAction::pathModel(), { this, &CAircraftModelView::displayModelStatisticsDialog });
|
||||
if (!this->isEmpty())
|
||||
{
|
||||
menuActions.addAction(CIcons::appAircraft16(), "Model statistics", CMenuAction::pathModel(), { this, &CAircraftModelView::displayModelStatisticsDialog });
|
||||
}
|
||||
|
||||
// Stash menus
|
||||
bool addStashMenu = false;
|
||||
|
||||
Reference in New Issue
Block a user