mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improved UI for surface band and curves (#8026)
* Add surface intersection bands and curves * #8024 Ensemble Surface : Fix mix of files for a ensemble layer surface
This commit is contained in:
@@ -61,6 +61,7 @@ CAF_PDM_SOURCE_INIT( RimAnnotationLineAppearance, "RimAnnotationLineAppearance"
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimAnnotationLineAppearance::RimAnnotationLineAppearance()
|
||||
: objectChanged( this )
|
||||
{
|
||||
CAF_PDM_InitObject( "AnnotationLineAppearance", ":/WellCollection.png", "", "" );
|
||||
|
||||
@@ -139,8 +140,10 @@ void RimAnnotationLineAppearance::fieldChangedByUi( const caf::PdmFieldHandle* c
|
||||
const QVariant& newValue )
|
||||
{
|
||||
RimAnnotationCollection* annColl = nullptr;
|
||||
this->firstAncestorOrThisOfTypeAsserted( annColl );
|
||||
annColl->scheduleRedrawOfRelevantViews();
|
||||
this->firstAncestorOrThisOfType( annColl );
|
||||
if ( annColl ) annColl->scheduleRedrawOfRelevantViews();
|
||||
|
||||
objectChanged.send();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user