mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
#5004 Remove comparison view option from 2dIntersection view
This commit is contained in:
parent
d82b957add
commit
55470cc1cd
@ -101,6 +101,8 @@ Rim2dIntersectionView::Rim2dIntersectionView( void )
|
||||
nameConfig()->hideAggregationTypeField( true );
|
||||
nameConfig()->hidePropertyField( true );
|
||||
nameConfig()->hideSampleSpacingField( true );
|
||||
|
||||
hideComparisonViewField();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -201,6 +201,14 @@ bool Rim3dView::isUsingOverrideViewer() const
|
||||
return m_overrideViewer != nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void Rim3dView::hideComparisonViewField()
|
||||
{
|
||||
m_comparisonView.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -196,6 +196,8 @@ protected:
|
||||
RiuViewer* nativeOrOverrideViewer() const;
|
||||
bool isUsingOverrideViewer() const;
|
||||
|
||||
void hideComparisonViewField();
|
||||
|
||||
// Abstract methods to implement in subclasses
|
||||
|
||||
virtual void onCreateDisplayModel() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user