mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Multi Axis: Make sure widget axis is created during assignment of plot axis
This commit is contained in:
parent
391d13565e
commit
ca61e9f9a8
@ -1196,6 +1196,8 @@ void RimSummaryPlot::connectCurveToPlot( RimSummaryCurve* curve, bool update, bo
|
||||
connectCurveSignals( curve );
|
||||
if ( plotWidget() )
|
||||
{
|
||||
plotWidget()->ensureAxisIsCreated( curve->axisY() );
|
||||
|
||||
if ( update )
|
||||
{
|
||||
curve->setParentPlotAndReplot( plotWidget() );
|
||||
|
Loading…
Reference in New Issue
Block a user