Fix crash during delete of multiplot

This commit is contained in:
Magne Sjaastad
2022-04-25 15:34:04 +02:00
parent 386ba1cbac
commit 73d598ee7e
4 changed files with 20 additions and 0 deletions

View File

@@ -107,6 +107,8 @@ public:
virtual std::vector<caf::PdmFieldHandle*> fieldsToShowInToolbar();
bool isValid() const;
protected:
QImage snapshotWindowContent() override;
@@ -169,4 +171,6 @@ protected:
private:
caf::PdmChildArrayField<RimPlot*> m_plots;
bool m_isValid;
};