mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix assert when canceling the Show Contributing Wells
This commit is contained in:
parent
64ef2f02d4
commit
cbeb248f6e
@ -49,7 +49,7 @@ RimEclipseView* RicShowContributingWellsFeatureImpl::maniuplateSelectedView(RimE
|
|||||||
{
|
{
|
||||||
RimEclipseView* viewToManipulate = RicSelectOrCreateViewFeatureImpl::showViewSelection(eclipseResultCase, "lastUsedWellAllocationView", "Show Contributing Wells in View");
|
RimEclipseView* viewToManipulate = RicSelectOrCreateViewFeatureImpl::showViewSelection(eclipseResultCase, "lastUsedWellAllocationView", "Show Contributing Wells in View");
|
||||||
|
|
||||||
CVF_ASSERT(viewToManipulate);
|
if (!viewToManipulate) return nullptr;
|
||||||
|
|
||||||
|
|
||||||
RicShowContributingWellsFeatureImpl::modifyViewToShowContributingWells(viewToManipulate, wellName, timeStep);
|
RicShowContributingWellsFeatureImpl::modifyViewToShowContributingWells(viewToManipulate, wellName, timeStep);
|
||||||
|
Loading…
Reference in New Issue
Block a user