mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8180 Python : Make orientation scriptable
This commit is contained in:
@@ -109,7 +109,7 @@ QList<caf::PdmOptionItemInfo>
|
||||
{
|
||||
QList<caf::PdmOptionItemInfo> options;
|
||||
|
||||
if ( fieldNeedingOptions == &m_stimPlanModel )
|
||||
if ( fieldNeedingOptions == &m_stimPlanModel && m_stimPlanModel )
|
||||
{
|
||||
// The user is not allowed to change this field, but option box looks good
|
||||
options.push_back( caf::PdmOptionItemInfo( m_stimPlanModel->name(), m_stimPlanModel ) );
|
||||
|
||||
Reference in New Issue
Block a user