mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5242 Fix intersection views visible in comparison view drop-down
This commit is contained in:
parent
b6252c9d59
commit
c35938e449
@ -1340,7 +1340,10 @@ QList<caf::PdmOptionItemInfo> Rim3dView::calculateValueOptions( const caf::PdmFi
|
|||||||
proj->allViews( views );
|
proj->allViews( views );
|
||||||
for ( auto view : views )
|
for ( auto view : views )
|
||||||
{
|
{
|
||||||
if ( view != this ) RiaOptionItemFactory::appendOptionItemFromViewNameAndCaseName( view, &options );
|
if ( view != this && dynamic_cast<RimGridView*>( view ) )
|
||||||
|
{
|
||||||
|
RiaOptionItemFactory::appendOptionItemFromViewNameAndCaseName( view, &options );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !options.empty() )
|
if ( !options.empty() )
|
||||||
|
Loading…
Reference in New Issue
Block a user