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:
@@ -1196,6 +1196,8 @@ void RimSummaryPlot::connectCurveToPlot( RimSummaryCurve* curve, bool update, bo
|
|||||||
connectCurveSignals( curve );
|
connectCurveSignals( curve );
|
||||||
if ( plotWidget() )
|
if ( plotWidget() )
|
||||||
{
|
{
|
||||||
|
plotWidget()->ensureAxisIsCreated( curve->axisY() );
|
||||||
|
|
||||||
if ( update )
|
if ( update )
|
||||||
{
|
{
|
||||||
curve->setParentPlotAndReplot( plotWidget() );
|
curve->setParentPlotAndReplot( plotWidget() );
|
||||||
|
|||||||
Reference in New Issue
Block a user