mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
#1972 Toggle grid collection on property filter creation
This commit is contained in:
parent
c3ebcd7bc5
commit
a42786bba0
@ -23,6 +23,7 @@
|
||||
|
||||
#include "RimEclipsePropertyFilter.h"
|
||||
#include "RimEclipsePropertyFilterCollection.h"
|
||||
#include "RimView.h"
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -56,6 +57,12 @@ QString RicEclipsePropertyFilterNewExec::name()
|
||||
void RicEclipsePropertyFilterNewExec::redo()
|
||||
{
|
||||
RicEclipsePropertyFilterFeatureImpl::addPropertyFilter(m_propertyFilterCollection);
|
||||
|
||||
RimView* view = nullptr;
|
||||
m_propertyFilterCollection->firstAncestorOrThisOfTypeAsserted(view);
|
||||
|
||||
//Enable display of grid cells, to be able to show generated property filter
|
||||
view->showGridCells(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user