mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
The four single-add cell-filter features (CellIndex, UserDefined, UserDefinedIndex, RangeSlice) repeated the same combined-filter dispatch: detect a selected RimCombinedFilter, resolve its case, add the new filter, select it, and bail out. Move that boilerplate into a templated helper so each feature shrinks to a single call. Addresses PR #13911 review feedback.