#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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() );

View File

@ -18,7 +18,6 @@
#include "RimcWellLogPlotCollection.h"
#include "RiaApplication.h"
#include "RiaGuiApplication.h"
#include "RimcWellLogPlot.h"
#include "WellLogCommands/RicNewWellLogPlotFeatureImpl.h"
@ -60,9 +59,6 @@ caf::PdmObjectHandle* RimcWellLogPlotCollection_newWellLogPlot::execute()
RimWellLogPlot* newWellLogPlot = nullptr;
RimWellLogPlotCollection* wellLogPlotCollection = self<RimWellLogPlotCollection>();
// Make sure the plot window is created
RiaGuiApplication::instance()->getOrCreateMainPlotWindow();
if ( m_case && m_wellPath && wellLogPlotCollection )
{
newWellLogPlot = createWellLogPlot( wellLogPlotCollection, m_wellPath, m_case );

View File

@ -19,7 +19,6 @@
#include "RiaApplication.h"
#include "RiaDefines.h"
#include "RiaGuiApplication.h"
#include "WellLogCommands/RicNewWellLogPlotFeatureImpl.h"
@ -57,9 +56,6 @@ caf::PdmObjectHandle* RimcWellLogTrack_addExtractionCurve::execute()
{
RimWellLogTrack* wellLogTrack = self<RimWellLogTrack>();
// Make sure the plot window is created
RiaGuiApplication::instance()->getOrCreateMainPlotWindow();
if ( m_case && m_wellPath && wellLogTrack )
{
RiaDefines::ResultCatType resultCategoryType = caf::AppEnum<RiaDefines::ResultCatType>::fromText( m_propertyType );