mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Curve creator. Minor refactoring
This commit is contained in:
parent
1ecf6cd60a
commit
d283e3aa8c
@ -262,7 +262,7 @@ void RicSummaryCurveCreator::updateFromSummaryPlot(RimSummaryPlot* targetPlot)
|
||||
if (m_targetPlot)
|
||||
{
|
||||
populateCurveCreator(*m_targetPlot);
|
||||
loadDataAndUpdatePlot();
|
||||
syncPreviewCurvesFromUiSelection();
|
||||
}
|
||||
|
||||
caf::PdmUiItem::updateConnectedEditors();
|
||||
@ -328,7 +328,7 @@ void RicSummaryCurveCreator::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
||||
changedField == &m_selectedSummaryCategories ||
|
||||
identifierAndField != nullptr)
|
||||
{
|
||||
loadDataAndUpdatePlot();
|
||||
syncPreviewCurvesFromUiSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -846,14 +846,6 @@ void RicSummaryCurveCreator::buildAddressListForCategoryRecursively(RifEclipseSu
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicSummaryCurveCreator::loadDataAndUpdatePlot()
|
||||
{
|
||||
syncPreviewCurvesFromUiSelection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -108,7 +108,6 @@ private:
|
||||
std::vector<std::pair<RifEclipseSummaryAddress::SummaryIdentifierType, QString>>& identifierPath,
|
||||
std::set<RifEclipseSummaryAddress>& addressSet);
|
||||
|
||||
void loadDataAndUpdatePlot();
|
||||
void syncPreviewCurvesFromUiSelection();
|
||||
void updatePreviewCurvesFromCurveDefinitions(const std::set<std::pair<RimSummaryCase*, RifEclipseSummaryAddress> >& allCurveDefsToDisplay,
|
||||
const std::set<std::pair<RimSummaryCase*, RifEclipseSummaryAddress> >& curveDefsToAdd,
|
||||
|
Loading…
Reference in New Issue
Block a user