mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Replace space with underline in snapshot generated filenames
This commit is contained in:
1 parent
43adffdc83
commit
e0b093d78d
1 file changed
+1
@@ -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