mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Convert to enum class
This commit is contained in:
@@ -567,7 +567,7 @@ bool RiaApplication::loadProject( const QString& projectFileName,
|
||||
// If load action is specified to recalculate statistics, do it now.
|
||||
// Apparently this needs to be done before the views are loaded, lest the number of time steps for statistics will
|
||||
// be clamped
|
||||
if ( loadAction & int( ProjectLoadAction::PLA_CALCULATE_STATISTICS ) )
|
||||
if ( loadAction == ProjectLoadAction::PLA_CALCULATE_STATISTICS )
|
||||
{
|
||||
for ( size_t oilFieldIdx = 0; oilFieldIdx < m_project->oilFields().size(); oilFieldIdx++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user