mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:28:21 +08:00
refs #907, menu to consolidate against own models
* restructured menu paths * menu providing the functionality
This commit is contained in:
committed by
Mathew Sutcliffe
parent
60a937b5b6
commit
c5f89d0deb
@@ -90,6 +90,12 @@ namespace BlackGui
|
||||
return subdir;
|
||||
}
|
||||
|
||||
const CMenuAction &CMenuAction::subMenuConsolidateModels()
|
||||
{
|
||||
static const CMenuAction subdir(CIcons::appModels16(), "Consolidate models", CMenuAction::pathViewModelsConsolidate());
|
||||
return subdir;
|
||||
}
|
||||
|
||||
const CMenuAction &CMenuAction::subMenuSimulator()
|
||||
{
|
||||
static const CMenuAction subdir(CIcons::appSimulator16(), "Simulator", CMenuAction::pathSimulator());
|
||||
@@ -422,6 +428,12 @@ namespace BlackGui
|
||||
return this->addMenu(CMenuAction::subMenuDatabase());
|
||||
}
|
||||
|
||||
CMenuAction CMenuActions::addMenuConsolidateModels()
|
||||
{
|
||||
if (this->containsMenu(CMenuAction::pathViewModelsConsolidate())) { CMenuAction(); }
|
||||
return this->addMenu(CMenuAction::subMenuConsolidateModels());
|
||||
}
|
||||
|
||||
CMenuAction CMenuActions::addMenuModelSet()
|
||||
{
|
||||
if (this->containsMenu(CMenuAction::pathModelSet())) { CMenuAction(); }
|
||||
|
||||
Reference in New Issue
Block a user