mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Several fixes by clang-tidy and use of clang compiler
This commit is contained in:
@@ -87,13 +87,14 @@ void RicNewAnalysisPlotFeature::onActionTriggered( bool isChecked )
|
||||
newPlot = analysisPlotColl->createAnalysisPlot( ensemble, quantityName, timeStep );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
if ( !newPlot && analysisPlotColl )
|
||||
{
|
||||
newPlot = analysisPlotColl->createAnalysisPlot();
|
||||
}
|
||||
newPlot->loadDataAndUpdate();
|
||||
|
||||
analysisPlotColl->updateConnectedEditors();
|
||||
if ( analysisPlotColl ) analysisPlotColl->updateConnectedEditors();
|
||||
|
||||
RiuPlotMainWindowTools::setExpanded( newPlot );
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( newPlot );
|
||||
|
||||
Reference in New Issue
Block a user