mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make sure curve legends are shown in same order as the curve items in the explorer when moving them up/down
This commit is contained in:
parent
9bf4365fb2
commit
7c2720f980
@ -502,6 +502,9 @@ void RimSummaryCurveCollection::defineEditorAttribute( const caf::PdmFieldHandle
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCurveCollection::onCurvesReordered( const SignalEmitter* emitter )
|
||||
{
|
||||
// detach and reattach to make sure curve legends are shown in correct order
|
||||
detachPlotCurves();
|
||||
reattachPlotCurves();
|
||||
curvesChanged.send();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user