mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Introduce RimGridPlotWindow and RiuQwtPlotWidget
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "RimCase.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
#include "RiuPlotMainWindowTools.h"
|
||||
|
||||
#include "cafAssert.h"
|
||||
#include "cafPdmUiFilePathEditor.h"
|
||||
@@ -113,6 +114,7 @@ void RimFormationNames::updateConnectedViews()
|
||||
std::vector<RimCase*> objects;
|
||||
this->objectsWithReferringPtrFieldsOfType( objects );
|
||||
|
||||
bool updatedTracks = false;
|
||||
for ( RimCase* caseObj : objects )
|
||||
{
|
||||
if ( caseObj )
|
||||
@@ -126,11 +128,13 @@ void RimFormationNames::updateConnectedViews()
|
||||
// The track may be referring to the case for other reasons than formations.
|
||||
if ( track->formationNamesCase() == caseObj )
|
||||
{
|
||||
track->loadDataAndUpdate( true );
|
||||
track->loadDataAndUpdate();
|
||||
updatedTracks = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user