mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -237,8 +237,7 @@ bool RiuGridCrossQwtPlot::curveText( const QwtPlotCurve* curve, QString* curveTi
|
||||
{
|
||||
*curveTitle = crossPlotCurve->curveName();
|
||||
|
||||
RimGridCrossPlotDataSet* dataSet = nullptr;
|
||||
crossPlotCurve->firstAncestorOrThisOfType( dataSet );
|
||||
auto dataSet = crossPlotCurve->firstAncestorOrThisOfType<RimGridCrossPlotDataSet>();
|
||||
if ( dataSet )
|
||||
{
|
||||
*xParamName = dataSet->xAxisName();
|
||||
|
||||
Reference in New Issue
Block a user