mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -69,7 +69,7 @@ caf::PdmScriptResponse RicfComputeCaseGroupStatistics::execute()
|
||||
{
|
||||
for ( RimEclipseCase* c : group->statisticsCaseCollection->reservoirs )
|
||||
{
|
||||
if ( c->caseId == caseId )
|
||||
if ( c->caseId() == caseId )
|
||||
{
|
||||
RimEclipseStatisticsCase* statsCase = dynamic_cast<RimEclipseStatisticsCase*>( c );
|
||||
if ( statsCase )
|
||||
|
||||
@@ -83,7 +83,7 @@ caf::PdmScriptResponse RicfCreateSaturationPressurePlots::execute()
|
||||
|
||||
for ( auto caseId : caseIds )
|
||||
{
|
||||
if ( c->caseId == caseId )
|
||||
if ( c->caseId() == caseId )
|
||||
{
|
||||
int timeStep = 0;
|
||||
RicCreateSaturationPressurePlotsFeature::createPlots( eclipseResultCase, timeStep );
|
||||
|
||||
@@ -48,7 +48,7 @@ caf::PdmScriptResponse RicfCreateView::execute()
|
||||
|
||||
for ( RimCase* rimCase : allCases )
|
||||
{
|
||||
if ( rimCase->caseId == m_caseId() )
|
||||
if ( rimCase->caseId() == m_caseId() )
|
||||
{
|
||||
int viewId = -1;
|
||||
RimEclipseCase* eclipseCase = dynamic_cast<RimEclipseCase*>( rimCase );
|
||||
|
||||
@@ -78,7 +78,7 @@ caf::PdmScriptResponse RicfSetTimeStep::execute()
|
||||
bool foundCase = false;
|
||||
for ( RimCase* c : allCases )
|
||||
{
|
||||
if ( c->caseId == m_caseId )
|
||||
if ( c->caseId() == m_caseId )
|
||||
{
|
||||
rimCase = c;
|
||||
foundCase = true;
|
||||
|
||||
Reference in New Issue
Block a user