mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 15:14:07 -06:00
RFT : Fix several update issues
This commit is contained in:
parent
0cc4f69ba3
commit
55966ef6e8
@ -100,6 +100,7 @@
|
||||
#include "RiuMdiMaximizeWindowGuard.h"
|
||||
#include "RiuMessagePanel.h"
|
||||
#include "RiuPlotMainWindow.h"
|
||||
#include "RiuPlotMainWindowTools.h"
|
||||
#include "RiuProcessMonitor.h"
|
||||
#include "RiuRecentFileActionProvider.h"
|
||||
#include "RiuViewer.h"
|
||||
@ -1277,6 +1278,9 @@ void RiaGuiApplication::onProjectOpened()
|
||||
m_maximizeWindowGuard.reset();
|
||||
|
||||
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 );
|
||||
|
||||
if ( m_parentPlot == plotWidget ) return;
|
||||
|
||||
setParentPlotNoReplot( plotWidget );
|
||||
plotWidget->replot();
|
||||
}
|
||||
|
@ -601,7 +601,6 @@ void RimWellLogCurveCommonDataSource::applyDataSourceChanges( const std::vector<
|
||||
RimWellLogPlot* parentPlot = nullptr;
|
||||
extractionCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
||||
plots.insert( parentPlot );
|
||||
curve->updateConnectedEditors();
|
||||
}
|
||||
}
|
||||
else if ( measurementCurve )
|
||||
@ -621,6 +620,8 @@ void RimWellLogCurveCommonDataSource::applyDataSourceChanges( const std::vector<
|
||||
rftCurve->firstAncestorOrThisOfTypeAsserted( parentPlot );
|
||||
plots.insert( parentPlot );
|
||||
}
|
||||
|
||||
curve->updateConnectedEditors();
|
||||
}
|
||||
|
||||
for ( RimWellLogTrack* track : tracks )
|
||||
|
Loading…
Reference in New Issue
Block a user