Add rename case to summary and grid cases (#9204)

* #9203 Summary Case : Add rename to right-click menu
* Janitor: Move ID and description to private fields
* Eclipse Case: Add rename to right-click menu
* Rename feature
This commit is contained in:
Magne Sjaastad
2022-08-17 22:12:23 -07:00
parent a36c07dd64
commit df16e1fe5c
38 changed files with 331 additions and 71 deletions

View File

@@ -358,8 +358,8 @@ RimEclipseStatisticsCase* RimIdenticalGridCaseGroup::createAndAppendStatisticsCa
{
RimEclipseStatisticsCase* newStatisticsCase = new RimEclipseStatisticsCase;
newStatisticsCase->caseUserDescription = QString( "Statistics " ) +
QString::number( statisticsCaseCollection()->reservoirs.size() + 1 );
newStatisticsCase->setCaseUserDescription( QString( "Statistics " ) +
QString::number( statisticsCaseCollection()->reservoirs.size() + 1 ) );
statisticsCaseCollection()->reservoirs.push_back( newStatisticsCase );
newStatisticsCase->populateResultSelectionAfterLoadingGrid();