#7952 Well Log Ensemble: Fix behavior when running in console mode (#8022)

This commit is contained in:
Kristian Bendiksen
2021-09-20 11:29:04 +02:00
committed by GitHub
parent fd8fbe19f4
commit 3d2fca1866
3 changed files with 0 additions and 12 deletions

View File

@@ -18,7 +18,6 @@
#include "RimcWellLogPlot.h"
#include "RiaApplication.h"
#include "RiaGuiApplication.h"
#include "WellLogCommands/RicNewWellLogPlotFeatureImpl.h"
@@ -55,9 +54,6 @@ caf::PdmObjectHandle* RimcWellLogPlot_newWellLogTrack::execute()
{
RimWellLogPlot* wellLogPlot = self<RimWellLogPlot>();
// Make sure the plot window is created
RiaGuiApplication::instance()->getOrCreateMainPlotWindow();
if ( !wellLogPlot ) return nullptr;
return createWellLogTrack( wellLogPlot, m_case(), m_wellPath(), m_title() );