mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2045 Curve Creator : Use PdmPointer
This commit is contained in:
parent
ae8d614fb0
commit
d1579bd792
@ -61,8 +61,6 @@ CAF_PDM_SOURCE_INIT(RicSummaryCurveCreator, "RicSummaryCurveCreator");
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicSummaryCurveCreator::RicSummaryCurveCreator()
|
||||
{
|
||||
CAF_PDM_InitFieldNoDefault(&m_selectionEditor, "SelectionEditor", "Selection Editor", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_targetPlot, "TargetPlot", "Target Plot", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&m_useAutoAppearanceAssignment, "UseAutoAppearanceAssignment", true, "Auto", "", "", "");
|
||||
@ -662,7 +660,6 @@ void RicSummaryCurveCreator::setCurveDefSelectionObject(RiuSummaryCurveDefSelect
|
||||
m_selectionEditor = curveDefSelection;
|
||||
m_selectionEditor->setFieldChangedHandler([this]() { this->selectionEditorFieldChanged(); });
|
||||
m_selectionEditor->setMultiSelectionMode(true);
|
||||
m_selectionEditor.uiCapability()->setUiTreeChildrenHidden(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -94,8 +94,7 @@ private:
|
||||
void selectionEditorFieldChanged();
|
||||
|
||||
private:
|
||||
|
||||
caf::PdmPtrField<RiuSummaryCurveDefSelection*> m_selectionEditor;
|
||||
caf::PdmPointer<RiuSummaryCurveDefSelection> m_selectionEditor;
|
||||
|
||||
caf::PdmPtrField<RimSummaryPlot*> m_targetPlot;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user