mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Export Sector Model: Add file path
* Export Sector Model: Add file path * Avoid abort if a file cannot be opened * Add missing return
This commit is contained in:
@@ -501,10 +501,10 @@ void RifEclipseInputFileTools::saveFault( QString
|
||||
const cvf::Vec3st& refinement )
|
||||
{
|
||||
QFile exportFile( completeFilename );
|
||||
|
||||
if ( !exportFile.open( QIODevice::WriteOnly | QIODevice::Text ) )
|
||||
{
|
||||
RiaLogging::error( "Could not open the file : " + completeFilename );
|
||||
return;
|
||||
}
|
||||
|
||||
QTextStream stream( &exportFile );
|
||||
|
||||
Reference in New Issue
Block a user