Make sure all scheduled redraws are done

Snapshot image from the regression test
TestCase_Flow was wrong for well allocation plots, the well log part was not updated correctly.
This commit is contained in:
Magne Sjaastad 2024-11-26 09:58:38 +01:00 committed by jonjenssen
parent 24fc63ab6d
commit e54c4f3c1e

View File

@ -28,6 +28,7 @@
#include "RiaFontCache.h"
#include "RiaImportEclipseCaseTools.h"
#include "RiaLogging.h"
#include "RiaPlotWindowRedrawScheduler.h"
#include "RiaPreferences.h"
#include "RiaPreferencesSumo.h"
#include "RiaPreferencesSystem.h"
@ -802,6 +803,8 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
gridCalculation->updateDependentObjects();
}
RiaPlotWindowRedrawScheduler::instance()->performScheduledUpdates();
RiaLogging::info( QString( "Completed open of project file : '%1'" ).arg( projectFileName ) );
return true;