mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -48,8 +48,7 @@ void RicDeleteWellMeasurementFilePathFeature::onActionTriggered( bool isChecked
|
||||
|
||||
RimWellMeasurementFilePath* filePath = selectedFilePaths[0];
|
||||
|
||||
RimWellMeasurementCollection* wellMeasurementCollection = nullptr;
|
||||
filePath->firstAncestorOrThisOfType( wellMeasurementCollection );
|
||||
RimWellMeasurementCollection* wellMeasurementCollection = filePath->firstAncestorOrThisOfType<RimWellMeasurementCollection>();
|
||||
if ( !wellMeasurementCollection ) return;
|
||||
|
||||
wellMeasurementCollection->removeMeasurementsForFilePath( filePath );
|
||||
|
||||
Reference in New Issue
Block a user