mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Implement creation of combination plots from selected plots
This commit is contained in:
@@ -114,14 +114,14 @@ void RimGridPlotWindow::insertPlot( RimPlotInterface* plot, size_t index )
|
||||
if ( plot )
|
||||
{
|
||||
m_plots.insert( index, toPdmObjectAsserted( plot ) );
|
||||
plot->setChecked( true );
|
||||
|
||||
if ( m_viewer )
|
||||
{
|
||||
plot->createPlotWidget();
|
||||
plot->setChecked( true );
|
||||
m_viewer->insertPlot( plot->viewer(), index );
|
||||
plot->updateAfterInsertingIntoGridPlotWindow();
|
||||
}
|
||||
plot->updateAfterInsertingIntoGridPlotWindow();
|
||||
|
||||
onPlotAdditionOrRemoval();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user