mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 04:00:57 -06:00
#744 Error message for snapshots in Batch mode
This commit is contained in:
parent
c6a41cc18f
commit
2c96599327
@ -1088,6 +1088,9 @@ bool RiaApplication::parseArguments()
|
||||
QString gridListFile = cvfqt::Utils::toQString(o.safeValue(0));
|
||||
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
||||
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
||||
|
||||
closeProject(false);
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -1172,6 +1175,8 @@ bool RiaApplication::parseArguments()
|
||||
saveSnapshotForAllViews("snapshots");
|
||||
|
||||
mainWnd->loadWinGeoAndDockToolBarLayout();
|
||||
|
||||
closeProject(false);
|
||||
}
|
||||
|
||||
// Returning false will exit the application
|
||||
|
Loading…
Reference in New Issue
Block a user