mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Maintenance october
* Hide contour plot collection when empty * Update the project tree when a linked view is removed * Make sure the window title is in sync with link state * Do not use link state to find window tile ordering
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "RimEclipseContourMapViewCollection.h"
|
||||
|
||||
#include "RimCase.h"
|
||||
#include "RimEclipseCase.h"
|
||||
#include "RimEclipseContourMapView.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimEclipseContourMapViewCollection, "Eclipse2dViewCollection" );
|
||||
@@ -38,3 +38,14 @@ void RimEclipseContourMapViewCollection::push_back( RimEclipseContourMapView* co
|
||||
{
|
||||
m_contourMapViews.push_back( contourMap );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseContourMapViewCollection::onChildDeleted( caf::PdmChildArrayFieldHandle* childArray,
|
||||
std::vector<caf::PdmObjectHandle*>& referringObjects )
|
||||
{
|
||||
RimEclipseCase* eclipseCase = nullptr;
|
||||
this->firstAncestorOrThisOfType( eclipseCase );
|
||||
if ( eclipseCase ) eclipseCase->updateConnectedEditors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user