From 4d8198657a471dfe5aaf79f0f7003d8de87249bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Hagen?= Date: Tue, 8 Sep 2015 11:47:25 +0200 Subject: [PATCH] (#396) Showing the well log plot name in the tree view --- ApplicationCode/ProjectDataModel/RimWellLogPlot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ApplicationCode/ProjectDataModel/RimWellLogPlot.cpp b/ApplicationCode/ProjectDataModel/RimWellLogPlot.cpp index 7c06f7c9c0..826fd7bba3 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogPlot.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogPlot.cpp @@ -121,6 +121,7 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c } else if (changedField == &m_userName) { + setUiName(m_userName); updateViewerWidgetWindowTitle(); } } @@ -343,6 +344,7 @@ void RimWellLogPlot::detachAllCurves() void RimWellLogPlot::setDescription(const QString& description) { m_userName = description; + setUiName(description); } //--------------------------------------------------------------------------------------------------