mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
#1174 Rename to loadDataAndUpdate
This commit is contained in:
parent
f5db37fcf7
commit
b6b544f13f
@ -63,7 +63,7 @@ void RicShowContributingWellsFeature::onActionTriggered(bool isChecked)
|
||||
{
|
||||
activeView->cellResult()->setResultType(RimDefines::FLOW_DIAGNOSTICS);
|
||||
activeView->cellResult()->setResultVariable("MaxFractionTracer");
|
||||
activeView->cellResult()->updateResultNameHasChanged();
|
||||
activeView->cellResult()->loadDataAndUpdate();
|
||||
|
||||
activeView->cellResult()->updateConnectedEditors();
|
||||
|
||||
@ -97,7 +97,7 @@ void RicShowContributingWellsFeature::onActionTriggered(bool isChecked)
|
||||
|
||||
propertyFilter->resultDefinition()->setEclipseCase(activeView->eclipseCase());
|
||||
propertyFilter->resultDefinition()->setTofAndSelectTracer(wellAllocationPlot->wellName());
|
||||
propertyFilter->resultDefinition()->updateResultNameHasChanged();
|
||||
propertyFilter->resultDefinition()->loadDataAndUpdate();
|
||||
|
||||
propertyFilterCollection->updateConnectedEditors();
|
||||
|
||||
|
@ -121,7 +121,7 @@ void RimEclipseInputProperty::fieldChangedByUi(const caf::PdmFieldHandle* change
|
||||
it->setResultVariable(newName);
|
||||
}
|
||||
|
||||
it->updateResultNameHasChanged();
|
||||
it->loadDataAndUpdate();
|
||||
it->updateAnyFieldHasChanged();
|
||||
}
|
||||
}
|
||||
|
@ -196,14 +196,14 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
m_flowSolution = m_flowSolutionUiField();
|
||||
m_selectedTracers = m_selectedTracersUiField();
|
||||
}
|
||||
updateResultNameHasChanged();
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
if ( &m_selectedTracersUiField == changedField )
|
||||
{
|
||||
m_flowSolution = m_flowSolutionUiField();
|
||||
m_selectedTracers = m_selectedTracersUiField();
|
||||
updateResultNameHasChanged();
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
updateAnyFieldHasChanged();
|
||||
@ -290,7 +290,7 @@ void RimEclipseResultDefinition::assignFlowSolutionFromCase()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseResultDefinition::updateResultNameHasChanged()
|
||||
void RimEclipseResultDefinition::loadDataAndUpdate()
|
||||
{
|
||||
RimView* view = nullptr;
|
||||
this->firstAncestorOrThisOfType(view);
|
||||
|
@ -27,13 +27,13 @@
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmPointer.h"
|
||||
#include "cafPdmPtrField.h"
|
||||
#include "RigFlowDiagResultAddress.h"
|
||||
|
||||
class RigCaseCellResultsData;
|
||||
class RimEclipseCase;
|
||||
class RimEclipseView;
|
||||
class RimReservoirCellResultsStorage;
|
||||
class RimFlowDiagSolution;
|
||||
class RigFlowDiagResultAddress;
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
@ -84,7 +84,7 @@ public:
|
||||
|
||||
RimReservoirCellResultsStorage* currentGridCellResults() const;
|
||||
|
||||
void updateResultNameHasChanged();
|
||||
void loadDataAndUpdate();
|
||||
void updateAnyFieldHasChanged();
|
||||
|
||||
void setTofAndSelectTracer(const QString& tracerName);
|
||||
|
Loading…
Reference in New Issue
Block a user