mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
#2017 Select Plot on Add To New Plot on RimWellLogFileChannel
This commit is contained in:
parent
9d5facdbd9
commit
74ab333c49
@ -103,17 +103,13 @@ void RicAddWellLogToPlotFeature::onActionTriggered(bool isChecked)
|
||||
curve->loadDataAndUpdate(true);
|
||||
}
|
||||
}
|
||||
|
||||
plot->calculateAvailableDepthRange();
|
||||
plot->updateDepthZoom();
|
||||
plotTrack->viewer()->replot();
|
||||
|
||||
// Make sure the summary plot window is created and visible
|
||||
RiuMainPlotWindow* plotwindow = RiaApplication::instance()->getOrCreateAndShowMainPlotWindow();
|
||||
|
||||
RiaApplication::instance()->project()->updateConnectedEditors();
|
||||
|
||||
plotwindow->selectAsCurrentItem(selection.back());
|
||||
RiaApplication::instance()->getOrCreateAndShowMainPlotWindow()->selectAsCurrentItem(plot);
|
||||
RiaApplication::instance()->getOrCreateAndShowMainPlotWindow()->setExpanded(plotTrack, true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user