mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replace space with underline in snapshot generated filenames
This commit is contained in:
@@ -1419,6 +1419,7 @@ void RiaApplication::saveSnapshotForAllViews(const QString& snapshotFolderName)
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
QString fileName = ri->caseUserDescription() + "-" + riv->name();
|
||||
fileName.replace(" ", "_");
|
||||
|
||||
QString absoluteFileName = caf::Utils::constructFullFileName(absSnapshotPath, fileName, ".png");
|
||||
saveSnapshotAs(absoluteFileName);
|
||||
|
||||
Reference in New Issue
Block a user