#1996 Renaming. Remove unused includes and rename local variables

This commit is contained in:
Rebecca Cox
2017-10-13 10:16:01 +02:00
parent d748803159
commit 7d908394db
31 changed files with 35 additions and 54 deletions

View File

@@ -62,14 +62,14 @@ void RicShowWellAllocationPlotFeature::onActionTriggered(bool isChecked)
if (collection.size() > 0)
{
RimSimWellInView* eclWell = collection[0];
RimSimWellInView* simWell = collection[0];
if (RiaApplication::instance()->project())
{
RimFlowPlotCollection* flowPlotColl = RiaApplication::instance()->project()->mainPlotCollection->flowPlotCollection();
if (flowPlotColl)
{
flowPlotColl->defaultWellAllocPlot()->setFromSimulationWell(eclWell);
flowPlotColl->defaultWellAllocPlot()->setFromSimulationWell(simWell);
flowPlotColl->defaultWellAllocPlot()->updateConnectedEditors();
// Make sure the summary plot window is created and visible