mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
Update plots on well pick import
This commit is contained in:
parent
864b9466d5
commit
03b03cd438
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user