mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#425) Resetting X-axis range to default when all curves are removed
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "RimWellPathCollection.h"
|
||||
#include "RimView.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
#include "RimWellLogPlotTrace.h"
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
#include "RimProject.h"
|
||||
|
||||
@@ -115,6 +116,13 @@ void RicDeleteItemExec::redo()
|
||||
wellLogPlot->updateAvailableDepthRange();
|
||||
}
|
||||
|
||||
RimWellLogPlotTrace* wellLogPlotTrace;
|
||||
parentObj->firstAnchestorOrThisOfType(wellLogPlotTrace);
|
||||
if (wellLogPlotTrace)
|
||||
{
|
||||
wellLogPlotTrace->updateAxisRanges();
|
||||
}
|
||||
|
||||
RimWellLogPlotCollection* wellLogPlotCollection = NULL;
|
||||
parentObj->firstAnchestorOrThisOfType(wellLogPlotCollection);
|
||||
if (wellLogPlotCollection)
|
||||
|
||||
Reference in New Issue
Block a user