(#396) A well log plot curve is set current when created

This commit is contained in:
Pål Hagen 2015-08-31 11:27:40 +02:00
parent a23ad04d06
commit 2bac87972f

View File

@ -88,8 +88,8 @@ void RimWellLogPlotTrace::addCurve(const std::vector<double>& depthValues, const
curve->setUiName(QString("Curve %1").arg(curves.size()));
curve->plot(depthValues, values);
RiuMainWindow::instance()->projectTreeView()->setExpanded(this, true);
updateConnectedEditors();
RiuMainWindow::instance()->setCurrentObjectInTreeView(curve);
}