Update plots on well pick import

This commit is contained in:
Rebecca Cox 2017-12-11 13:58:58 +01:00
parent 864b9466d5
commit 03b03cd438

View File

@ -20,6 +20,7 @@
#include "RiaApplication.h"
#include "RimMainPlotCollection.h"
#include "RimOilField.h"
#include "RimProject.h"
#include "RimWellPath.h"
@ -65,6 +66,11 @@ void RicWellPathFormationsImportFileFeature::onActionTriggered(bool isChecked)
if (project)
{
project->createDisplayModelAndRedrawAllViews();
if (project->mainPlotCollection())
{
project->mainPlotCollection->updatePlotsWithFormations();
}
RimOilField* oilField = project->activeOilField();
if (!oilField) return;