mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4775 Summary : Do not change source selection if no sources are matching
This commit is contained in:
parent
28ef4166ea
commit
bbfc6188e9
@ -366,8 +366,11 @@ void RimSummaryPlotFilterTextCurveSetEditor::defineUiOrdering( QString uiConfigN
|
||||
std::vector<caf::PdmPointer<SummarySource>> usedSources( sourcesFromExistingCurves.begin(),
|
||||
sourcesFromExistingCurves.end() );
|
||||
|
||||
m_selectedSources.clear();
|
||||
m_selectedSources.setValue( usedSources );
|
||||
if ( !usedSources.empty() )
|
||||
{
|
||||
m_selectedSources.clear();
|
||||
m_selectedSources.setValue( usedSources );
|
||||
}
|
||||
|
||||
// Check if existing filtertext matches all the curves
|
||||
// Todo: possibly check grid time history curves also
|
||||
|
Loading…
Reference in New Issue
Block a user