mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2996 Plot Editor : Missing panel initialization in some cases
Remove the change in current selection, as this is a temporary field only stored in the UI
This commit is contained in:
parent
6a41ad14c3
commit
e68adbf2f8
@ -435,11 +435,6 @@ void RiuSummaryCurveDefSelection::setSelectedCurveDefinitions(const std::vector<
|
|||||||
m_selectedSummaryCategories.v().push_back(summaryAddress.category());
|
m_selectedSummaryCategories.v().push_back(summaryAddress.category());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curveDefinitions.size() == 1)
|
|
||||||
{
|
|
||||||
m_currentSummaryCategory = summaryAddress.category();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Select case if not already selected
|
// Select case if not already selected
|
||||||
SummarySource* summSource = curveDef.isEnsembleCurve() ? static_cast<SummarySource*>(curveDef.ensemble()) : summaryCase;
|
SummarySource* summSource = curveDef.isEnsembleCurve() ? static_cast<SummarySource*>(curveDef.ensemble()) : summaryCase;
|
||||||
if (std::find(m_selectedSources.begin(), m_selectedSources.end(), summSource) == m_selectedSources.end())
|
if (std::find(m_selectedSources.begin(), m_selectedSources.end(), summSource) == m_selectedSources.end())
|
||||||
|
Loading…
Reference in New Issue
Block a user