mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05: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:
1 parent
2480a782d1
commit
fd8fbe19f4
1 file changed
+1
-1
@@ -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 ) )
|
||||
|
||||
Reference in new issue
Block a user