Fixed visibility and rebuild of child items for filters

This commit is contained in:
Magne Sjaastad
2015-08-10 23:23:41 +02:00
parent 56907a5c6e
commit 5610bf5a10
4 changed files with 7 additions and 9 deletions

View File

@@ -103,8 +103,7 @@ void RicRangeFilterNewExec::redo()
cellRangeFilterCollection->reservoirView()->scheduleGeometryRegen(RANGE_FILTERED);
cellRangeFilterCollection->reservoirView()->scheduleGeometryRegen(RANGE_FILTERED_INACTIVE);
caf::PdmUiFieldHandle::updateConnectedUiEditors(cellRangeFilterCollection->parentField());
caf::PdmUiFieldHandle::updateConnectedUiEditors(&cellRangeFilterCollection->rangeFilters);
cellRangeFilterCollection->updateConnectedEditors();
}
//--------------------------------------------------------------------------------------------------
@@ -116,5 +115,5 @@ void RicRangeFilterNewExec::undo()
cellRangeFilterCollection->rangeFilters.erase(cellRangeFilterCollection->rangeFilters.size() - 1);
caf::PdmUiFieldHandle::updateConnectedUiEditors(cellRangeFilterCollection->parentField());
cellRangeFilterCollection->updateConnectedEditors();
}