#819 Added reload formation names command

This commit is contained in:
Jacob Støren
2016-08-26 16:12:55 +02:00
parent f03e6de1f2
commit f3e4a6edea
4 changed files with 112 additions and 0 deletions

View File

@@ -315,12 +315,14 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
else if(dynamic_cast<RimFormationNames*>(uiItem))
{
commandIds << "RicImportFormationNamesFeature";
commandIds << "RicReloadFormationNamesFeature";
commandIds << "Separator";
commandIds << "RicDeleteItemFeature";
}
else if(dynamic_cast<RimFormationNamesCollection*>(uiItem))
{
commandIds << "RicImportFormationNamesFeature";
commandIds << "RicReloadFormationNamesFeature";
commandIds << "Separator";
commandIds << "RicDeleteItemFeature";
}