mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
(#621) Fixed crash when toggling a curve in a hidden plot.
Added missing guard of the Qt pointer
This commit is contained in:
1 parent
0d41d15fe9
commit
669bacb2a5
1 file changed
+2
-2
@@ -24,7 +24,7 @@
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
#include "RigWellLogCurveData.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <vector>
|
||||
|
||||
class RigWellLogCurveData;
|
||||
@@ -81,7 +81,7 @@ protected:
|
||||
virtual void initAfterRead();
|
||||
|
||||
|
||||
RiuWellLogTrackPlot* m_ownerQwtTrack;
|
||||
QPointer<RiuWellLogTrackPlot> m_ownerQwtTrack;
|
||||
RiuWellLogPlotCurve* m_qwtPlotCurve;
|
||||
cvf::ref<RigWellLogCurveData> m_curveData;
|
||||
|
||||
|
||||
Reference in new issue
Block a user