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:
@@ -52,12 +52,14 @@ void RicEditSummaryPlotFeature::closeDialogAndResetTargetPlot()
|
||||
{
|
||||
auto dialog = RicEditSummaryPlotFeature::curveCreatorDialog();
|
||||
|
||||
if ( dialog && dialog->isVisible() )
|
||||
if ( dialog )
|
||||
{
|
||||
dialog->hide();
|
||||
if ( dialog->isVisible() )
|
||||
{
|
||||
dialog->hide();
|
||||
}
|
||||
dialog->updateFromSummaryPlot( nullptr );
|
||||
}
|
||||
|
||||
dialog->updateFromSummaryPlot( nullptr );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user