mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8522 Summary Plot: ensure plot axis are restore when creating plots.
This commit is contained in:
@@ -2006,6 +2006,11 @@ RiuPlotWidget* RimSummaryPlot::doCreatePlotViewWidget( QWidget* mainWindowParent
|
||||
m_summaryPlot = std::make_unique<RiuSummaryQwtPlot>( this, mainWindowParent );
|
||||
#endif
|
||||
|
||||
for ( auto axisProperties : m_axisProperties )
|
||||
{
|
||||
plotWidget()->ensureAxis( axisProperties->plotAxisType() );
|
||||
}
|
||||
|
||||
for ( RimGridTimeHistoryCurve* curve : m_gridTimeHistoryCurves )
|
||||
{
|
||||
curve->setParentPlotNoReplot( plotWidget() );
|
||||
|
||||
Reference in New Issue
Block a user