mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8009 Make sure a view is created when case is imported
The original logic was not clear due to automatic conversion of pointer to bool
This commit is contained in:
parent
2480a782d1
commit
fd8fbe19f4
@ -230,7 +230,7 @@ void RicImportGeneralDataFeature::openFileDialog( ImportFileType fileTypes )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicImportGeneralDataFeature::openEclipseCaseFromFileNames( const QStringList& fileNames )
|
||||
{
|
||||
bool createView = false;
|
||||
bool createView = true;
|
||||
bool noDialog = false;
|
||||
RiaImportEclipseCaseTools::FileCaseIdMap newCaseFiles;
|
||||
if ( RiaImportEclipseCaseTools::openEclipseCasesFromFile( fileNames, createView, &newCaseFiles, noDialog ) )
|
||||
|
Loading…
Reference in New Issue
Block a user