mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1205 Added a none option to Well Alloc Plot Flow Solution menu
This commit is contained in:
parent
2ccabc4589
commit
dea5c8fc8c
@ -485,6 +485,7 @@ QList<caf::PdmOptionItemInfo> RimWellAllocationPlot::calculateValueOptions(const
|
|||||||
|
|
||||||
for (RimFlowDiagSolution* flowSol : flowSols)
|
for (RimFlowDiagSolution* flowSol : flowSols)
|
||||||
{
|
{
|
||||||
|
options.push_back(caf::PdmOptionItemInfo("None", nullptr));
|
||||||
options.push_back(caf::PdmOptionItemInfo(flowSol->userDescription(), flowSol, false, flowSol->uiIcon()));
|
options.push_back(caf::PdmOptionItemInfo(flowSol->userDescription(), flowSol, false, flowSol->uiIcon()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -524,7 +525,8 @@ void RimWellAllocationPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedF
|
|||||||
}
|
}
|
||||||
else if ( changedField == &m_wellName
|
else if ( changedField == &m_wellName
|
||||||
|| changedField == &m_case
|
|| changedField == &m_case
|
||||||
|| changedField == &m_timeStep)
|
|| changedField == &m_timeStep
|
||||||
|
|| changedField == &m_flowDiagSolution)
|
||||||
{
|
{
|
||||||
loadDataAndUpdate();
|
loadDataAndUpdate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user