#2049 Curve calc. Add curve calc command to more objects and toolbar

This commit is contained in:
Bjørn Erik Jensen
2017-11-01 15:01:37 +01:00
parent 257a5c18d2
commit 62b96a5ae5
4 changed files with 7 additions and 22 deletions

View File

@@ -285,6 +285,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
commandIds << "RicPasteSummaryPlotFeature";
commandIds << "RicPasteAsciiDataToSummaryPlotFeature";
commandIds << "Separator";
commandIds << "RicShowSummaryCurveCalculatorFeature";
commandIds << "RicNewSummaryPlotFeature";
}
else if (dynamic_cast<RimWellLogPlot*>(uiItem))
@@ -353,6 +354,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
{
if (!dynamic_cast<RimObservedData*>(uiItem))
{
commandIds << "RicShowSummaryCurveCalculatorFeature";
commandIds << "RicNewSummaryPlotFeature";
}
}