mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RFT : Fix several update issues
This commit is contained in:
parent
0cc4f69ba3
commit
55966ef6e8
@ -100,6 +100,7 @@
|
|||||||
#include "RiuMdiMaximizeWindowGuard.h"
|
#include "RiuMdiMaximizeWindowGuard.h"
|
||||||
#include "RiuMessagePanel.h"
|
#include "RiuMessagePanel.h"
|
||||||
#include "RiuPlotMainWindow.h"
|
#include "RiuPlotMainWindow.h"
|
||||||
|
#include "RiuPlotMainWindowTools.h"
|
||||||
#include "RiuProcessMonitor.h"
|
#include "RiuProcessMonitor.h"
|
||||||
#include "RiuRecentFileActionProvider.h"
|
#include "RiuRecentFileActionProvider.h"
|
||||||
#include "RiuViewer.h"
|
#include "RiuViewer.h"
|
||||||
@ -1277,6 +1278,9 @@ void RiaGuiApplication::onProjectOpened()
|
|||||||
m_maximizeWindowGuard.reset();
|
m_maximizeWindowGuard.reset();
|
||||||
|
|
||||||
processEvents();
|
processEvents();
|
||||||
|
|
||||||
|
// Make sure to process events before this function to avoid strange Qt crash
|
||||||
|
RiuPlotMainWindowTools::refreshToolbars();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -1020,8 +1020,6 @@ void RimPlotCurve::setParentPlotAndReplot( RiuPlotWidget* plotWidget )
|
|||||||
{
|
{
|
||||||
CAF_ASSERT( plotWidget );
|
CAF_ASSERT( plotWidget );
|
||||||
|
|
||||||
if ( m_parentPlot == plotWidget ) return;
|
|
||||||
|
|
||||||
setParentPlotNoReplot( plotWidget );
|
setParentPlotNoReplot( plotWidget );
|
||||||
plotWidget->replot();
|
plotWidget->replot();
|
||||||
}
|
}
|
||||||
|
@ -601,7 +601,6 @@ void RimWellLogCurveCommonDataSource::applyDataSourceChanges( const std::vector<
|
|||||||
RimWellLogPlot* parentPlot = nullptr;
|
RimWellLogPlot* parentPlot = nullptr;
|
||||||
extractionCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
extractionCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
||||||
plots.insert( parentPlot );
|
plots.insert( parentPlot );
|
||||||
curve->updateConnectedEditors();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( measurementCurve )
|
else if ( measurementCurve )
|
||||||
@ -621,6 +620,8 @@ void RimWellLogCurveCommonDataSource::applyDataSourceChanges( const std::vector<
|
|||||||
rftCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
rftCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
||||||
plots.insert( parentPlot );
|
plots.insert( parentPlot );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curve->updateConnectedEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( RimWellLogTrack* track : tracks )
|
for ( RimWellLogTrack* track : tracks )
|
||||||
|
Loading…
Reference in New Issue
Block a user