mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Release adjustments
* Use appendMenuItems instead of ContextCommandBuilder * Specify RimEclipseCaseCollection menu features once * Add function to enable up/down arrows for combo box * Guard crash when closing project * Improve UI for grid case ensemble - Create a view for the first case in the ensemble - Show case name in view title - Enable up/down buttons to Eclipse case * Make sure 3D views in grid ensemble are created on project load
This commit is contained in:
1 parent
1f80503f01
commit
9d66e6195e
22 files changed
+189
-70
No files matched your search
@@ -52,7 +52,9 @@
|
||||
#include "RimCommandRouter.h"
|
||||
#include "RimCompletionTemplateCollection.h"
|
||||
#include "RimEclipseCaseCollection.h"
|
||||
#include "RimEclipseCaseEnsemble.h"
|
||||
#include "RimEclipseView.h"
|
||||
#include "RimEclipseViewCollection.h"
|
||||
#include "RimEnsembleWellLogsCollection.h"
|
||||
#include "RimFaultReactivationModelCollection.h"
|
||||
#include "RimFileWellPath.h"
|
||||
@@ -713,6 +715,20 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
|
||||
}
|
||||
}
|
||||
|
||||
// Load all grid ensemble views
|
||||
{
|
||||
auto gridCaseEnsembles = m_project->activeOilField()->analysisModels()->caseEnsembles.childrenByType();
|
||||
|
||||
for ( auto gridCaseEnsemble : gridCaseEnsembles )
|
||||
{
|
||||
auto views = gridCaseEnsemble->viewCollection()->views();
|
||||
for ( auto view : views )
|
||||
{
|
||||
view->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_project->viewLinkerCollection() && m_project->viewLinkerCollection()->viewLinker() )
|
||||
{
|
||||
m_project->viewLinkerCollection()->viewLinker()->updateOverrides();
|
||||
|
||||
Reference in new issue
Block a user