From 01b3df863ed8fb2fbbe8561e0466ac1bcb89ad2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Tue, 28 Feb 2017 15:46:08 +0100 Subject: [PATCH] #1264 Added Well Allocation command to Project tree context menu --- ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp b/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp index b689bde636..d535dc568f 100644 --- a/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp +++ b/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp @@ -336,6 +336,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection() else if (dynamic_cast(uiItem)) { commandIds << "RicNewSimWellIntersectionFeature"; + commandIds << "RicShowWellAllocationPlotFeature"; } else if(dynamic_cast(uiItem)) { @@ -419,6 +420,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection() } else if (dynamic_cast(uiItem)) { + commandIds << "Separator"; commandIds << "RicEclipseWellShowLabelFeature"; commandIds << "RicEclipseWellShowHeadFeature"; commandIds << "RicEclipseWellShowPipeFeature";