(#388) Added RicComputeStatisticsFeature

This commit is contained in:
Pål Hagen
2015-08-21 14:53:45 +02:00
parent afe596aa2a
commit 762083a5b6
5 changed files with 145 additions and 1 deletions

View File

@@ -598,7 +598,7 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
//menu.addAction(QString("Compute"), this, SLOT(slotComputeStatistics()));
//menu.addAction(QString("Close"), this, SLOT(slotCloseCase()));
commandIds << "RicNewViewFeature";
// commandIds << "RicComputestatistics....";
commandIds << "RicComputeStatisticsFeature";
commandIds << "RicCloseCaseFeature";
commandIds << "RicExecuteScriptForCasesFeature";
}

View File

@@ -992,6 +992,7 @@ void RimUiTreeView::slotNewStatisticsCase()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
// OBSOLETE - see RicComputeStatisticsFeature
void RimUiTreeView::slotComputeStatistics()
{
QModelIndex index = currentIndex();