mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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));
|
QString gridListFile = cvfqt::Utils::toQString(o.safeValue(0));
|
||||||
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
std::vector<QString> gridFiles = readFileListFromTextFile(gridListFile);
|
||||||
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
runMultiCaseSnapshots(projectFileName, gridFiles, "multiCaseSnapshots");
|
||||||
|
|
||||||
|
closeProject(false);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1172,6 +1175,8 @@ bool RiaApplication::parseArguments()
|
|||||||
saveSnapshotForAllViews("snapshots");
|
saveSnapshotForAllViews("snapshots");
|
||||||
|
|
||||||
mainWnd->loadWinGeoAndDockToolBarLayout();
|
mainWnd->loadWinGeoAndDockToolBarLayout();
|
||||||
|
|
||||||
|
closeProject(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returning false will exit the application
|
// Returning false will exit the application
|
||||||
|
Loading…
Reference in New Issue
Block a user