#1972 Toggle grid collection on property filter creation

This commit is contained in:
Rebecca Cox 2017-11-08 14:13:19 +01:00
parent c3ebcd7bc5
commit a42786bba0

View File

@ -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);
}
//--------------------------------------------------------------------------------------------------