mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
This commit is contained in:
parent
fd8fbe19f4
commit
3d2fca1866
@ -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() );
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user