mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: improve api for views and oil fields.
This commit is contained in:
@@ -108,9 +108,8 @@ QList<caf::PdmOptionItemInfo> RimViewController::calculateValueOptions( const ca
|
||||
|
||||
if ( fieldNeedingOptions == &m_managedView )
|
||||
{
|
||||
RimProject* proj = RimProject::current();
|
||||
std::vector<Rim3dView*> views;
|
||||
proj->allNotLinkedViews( views );
|
||||
RimProject* proj = RimProject::current();
|
||||
std::vector<Rim3dView*> views = proj->allNotLinkedViews();
|
||||
|
||||
// Add currently linked view to list
|
||||
if ( managedView() )
|
||||
|
||||
Reference in New Issue
Block a user