From 33c310bba1a5ad9e3206297acbcd7375a8bc10eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Hagen?= Date: Mon, 31 Aug 2015 11:19:28 +0200 Subject: [PATCH] (#396) Made sure that a well log plot is the current item when created --- ApplicationCode/ProjectDataModel/RimWellLogPlotCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/RimWellLogPlotCollection.cpp b/ApplicationCode/ProjectDataModel/RimWellLogPlotCollection.cpp index af9bba67a2..f08da1fc96 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogPlotCollection.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogPlotCollection.cpp @@ -56,6 +56,6 @@ void RimWellLogPlotCollection::addWellLogPlot() RimWellLogPlot* plot = new RimWellLogPlot(); wellLogPlots.push_back(plot); - RiuMainWindow::instance()->projectTreeView()->setExpanded(this, true); RiaApplication::instance()->project()->updateConnectedEditors(); + RiuMainWindow::instance()->setCurrentObjectInTreeView(plot); }