(#396) Made sure that a viewer is created when adding a new plot

This commit is contained in:
Pål Hagen 2015-09-03 15:05:58 +02:00
parent ef727b4797
commit f149cfff6d

View File

@ -53,6 +53,7 @@ void RicNewWellLogPlotFeature::onActionTriggered(bool isChecked)
RimWellLogPlotTrace* plotrace = new RimWellLogPlotTrace();
plot->addTrace(plotrace);
plot->loadDataAndUpdate();
wellLogPlotColl->wellLogPlots().push_back(plot);
RiaApplication::instance()->project()->updateConnectedEditors();