mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Multi Axis: Make sure widget axis is created during assignment of plot axis
This commit is contained in:
1 parent
391d13565e
commit
ca61e9f9a8
1 file changed
+2
@@ -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() );
|
||||
|
||||
Reference in new issue
Block a user