mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#621) Fixed crash when toggling a curve in a hidden plot.
Added missing guard of the Qt pointer
This commit is contained in:
parent
0d41d15fe9
commit
669bacb2a5
@ -24,7 +24,7 @@
|
|||||||
#include "cafPdmObject.h"
|
#include "cafPdmObject.h"
|
||||||
|
|
||||||
#include "RigWellLogCurveData.h"
|
#include "RigWellLogCurveData.h"
|
||||||
|
#include <QPointer>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class RigWellLogCurveData;
|
class RigWellLogCurveData;
|
||||||
@ -81,7 +81,7 @@ protected:
|
|||||||
virtual void initAfterRead();
|
virtual void initAfterRead();
|
||||||
|
|
||||||
|
|
||||||
RiuWellLogTrackPlot* m_ownerQwtTrack;
|
QPointer<RiuWellLogTrackPlot> m_ownerQwtTrack;
|
||||||
RiuWellLogPlotCurve* m_qwtPlotCurve;
|
RiuWellLogPlotCurve* m_qwtPlotCurve;
|
||||||
cvf::ref<RigWellLogCurveData> m_curveData;
|
cvf::ref<RigWellLogCurveData> m_curveData;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user