mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2049 Curve calc. Add curve calc command to more objects and toolbar
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user