From fcf5093fb91dbb9639af70a430a29e4699dcb55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Sun, 12 Nov 2017 13:45:01 +0100 Subject: [PATCH] #2130 Zoom all when adding or removing curves. WellLogTrack will not zoomAll but respect the visible-window setting to avoid overwriting the set zoom on project reload. --- ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp b/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp index 0b3a90e940..e1acd4c966 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp @@ -603,6 +603,7 @@ void RimWellRftPlot::updateCurvesInPlot(const std::set } m_wellLogPlot->loadDataAndUpdate(); + m_wellLogPlot->zoomAll(); } //--------------------------------------------------------------------------------------------------