mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1842 RFT Plot. Command enabling criteria. Minor refactoring
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <QMenu>
|
||||
#include "RimRftPlotCollection.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -264,6 +265,10 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicNewWellLogPlotFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimRftPlotCollection*>(uiItem))
|
||||
{
|
||||
commandIds << "RicNewRftPlotFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimSummaryPlotCollection*>(uiItem))
|
||||
{
|
||||
commandIds << "RicPasteSummaryPlotFeature";
|
||||
|
||||
Reference in New Issue
Block a user