mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#388) Added RicNewStatisticsCaseFeature
This commit is contained in:
@@ -587,10 +587,10 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimEclipseStatisticsCaseCollection*>(uiItem))
|
||||
else if (dynamic_cast<RimCaseCollection*>(uiItem))
|
||||
{
|
||||
//menu.addAction(QString("New Statistics Case"), this, SLOT(slotNewStatisticsCase()));
|
||||
//commandIds << "RicNewStatisticsCaseFeature"
|
||||
// Todo: "Paste"
|
||||
commandIds << "RicNewStatisticsCaseFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimEclipseStatisticsCase*>(uiItem))
|
||||
{
|
||||
|
||||
@@ -975,6 +975,7 @@ void RimUiTreeView::slotCloseCase()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
// OBSOLETE - see RicNewStatisticsCaseFeature
|
||||
void RimUiTreeView::slotNewStatisticsCase()
|
||||
{
|
||||
RimUiTreeModelPdm* myModel = dynamic_cast<RimUiTreeModelPdm*>(model());
|
||||
|
||||
Reference in New Issue
Block a user