Fix active cell not resetting when clicking on cells (#9804)

- Refactor PlotShapeItems highlighting in QwtPlotWdiget - s.t. highlighting is not dependent on plotDefinition RimPlot object and its isCurveHighlightSupported flag.
- Remove plot definition assert and utilize guards to allow nullptr/undefined plotDefinition
This commit is contained in:
Jørgen Herje
2023-02-06 14:33:09 +01:00
committed by GitHub
parent b1e94adffd
commit 7a2aebe8b9
3 changed files with 72 additions and 38 deletions

View File

@@ -49,7 +49,6 @@ RiuPlotWidget::RiuPlotWidget( RimPlot* plotDefinition, QWidget* parent )
, m_plotTitle( "" )
, m_plotTitleEnabled( true )
{
CAF_ASSERT( m_plotDefinition );
}
//--------------------------------------------------------------------------------------------------