mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Adding a trace when creating a new well log plot
Did some refactoring - moved creation code to command feature.
This commit is contained in:
@@ -20,11 +20,6 @@
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
|
||||
#include "RimWellLogPlot.h"
|
||||
#include "RimProject.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
|
||||
#include "cafPdmUiTreeView.h"
|
||||
|
||||
@@ -48,15 +43,3 @@ RimWellLogPlotCollection::~RimWellLogPlotCollection()
|
||||
{
|
||||
wellLogPlots.deleteAllChildObjects();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlotCollection::addWellLogPlot()
|
||||
{
|
||||
RimWellLogPlot* plot = new RimWellLogPlot();
|
||||
wellLogPlots.push_back(plot);
|
||||
|
||||
RiaApplication::instance()->project()->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->setCurrentObjectInTreeView(plot);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user