Merge pull request #8838 from OPM/datasource_steppingtoolbar

Add simplified data source stepping control in toolbar
This commit is contained in:
jonjenssen authored and GitHub committed 2022-04-26 12:08:22 +02:00
1 parent 571011c2bd
commit 0f5d949af0
5 files changed
+128 -172

No files matched your search

@@ -183,8 +183,11 @@ void PdmUiToolBarEditor::configureAndUpdateUi( const QString& uiConfigName )
}
}
CAF_ASSERT( m_fields.size() == m_fieldViews.size() );
CAF_ASSERT( static_cast<int>( m_fields.size() ) == m_actions.size() );
// CAF_ASSERT( m_fields.size() == m_fieldViews.size() );
if ( static_cast<int>( m_fields.size() ) != m_actions.size() ) return;
// CAF_ASSERT( static_cast<int>( m_fields.size() ) == m_actions.size() );
if ( static_cast<int>( m_fields.size() ) != m_actions.size() ) return;
for ( size_t i = 0; i < m_fields.size(); i++ )
{