mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3829 Remove spaces in Export Completion file names: Patch fix
This commit is contained in:
@@ -1125,7 +1125,9 @@ QFilePtr RicWellPathExportCompletionDataFeatureImpl::openFileForExport(const QSt
|
||||
}
|
||||
}
|
||||
|
||||
QString filePath = exportFolder.filePath(fileName);
|
||||
QString validFileName = caf::Utils::makeValidFileBasename(fileName);
|
||||
|
||||
QString filePath = exportFolder.filePath(validFileName);
|
||||
QFilePtr exportFile(new QFile(filePath));
|
||||
if (!exportFile->open(QIODevice::WriteOnly | QIODevice::Text))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user