mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5696 WBS: Fix check for element properties when creating options source list.
An off-by-one error in the time step when checking if a element property table has any values would lead to the "Propery Table" option not being shown in the UI for the default time step (i.e 0). This makes it possible to select UCS and POISSON_RATIO as element properties.
This commit is contained in:
parent
0733c00915
commit
4da969f86b
@ -433,7 +433,7 @@ bool RimWbsParameters::hasLasFileWithChannel( const QString& channel ) const
|
||||
bool RimWbsParameters::hasElementPropertyEntry( const RigFemResultAddress& resAddr ) const
|
||||
{
|
||||
RigFemPartResultsCollection* femPartResults = nullptr;
|
||||
if ( m_geoMechCase && m_geoMechCase->geoMechData() && m_timeStep > 0 )
|
||||
if ( m_geoMechCase && m_geoMechCase->geoMechData() && m_timeStep() >= 0 )
|
||||
{
|
||||
femPartResults = m_geoMechCase->geoMechData()->femPartResults();
|
||||
if ( femPartResults )
|
||||
|
Loading…
Reference in New Issue
Block a user