mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 15:41:00 -05:00
2025.04.0 Merge dev into main
This commit is contained in:
1 parent
e9ec8cb718
commit
f96374a6b4
969 files changed
+40872
-31569
No files matched your search
@@ -1194,9 +1194,16 @@ void RimPlotCurve::detach( bool deletePlotCurve )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlotCurve::reattach()
|
||||
void RimPlotCurve::reattach( bool updateParentPlot )
|
||||
{
|
||||
if ( m_parentPlot && canCurveBeAttached() ) attach( m_parentPlot );
|
||||
if ( m_parentPlot && canCurveBeAttached() )
|
||||
{
|
||||
setParentPlotNoReplot( m_parentPlot );
|
||||
if ( updateParentPlot )
|
||||
{
|
||||
m_parentPlot->replot();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user