mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5157 Regression Test : Some images get wrong size
This commit is contained in:
@@ -203,11 +203,11 @@ void RiaRegressionTestRunner::runRegressionTest()
|
||||
|
||||
setDefaultFixedWindowSizeFor3dViews();
|
||||
|
||||
resizePlotWindows();
|
||||
|
||||
QString fullPathGeneratedFolder = testCaseFolder.absoluteFilePath( generatedFolderName );
|
||||
RicSnapshotAllViewsToFileFeature::exportSnapshotOfViewsIntoFolder( fullPathGeneratedFolder );
|
||||
|
||||
QApplication::processEvents();
|
||||
resizePlotWindows();
|
||||
RicSnapshotAllPlotsToFileFeature::exportSnapshotOfPlotsIntoFolder( fullPathGeneratedFolder );
|
||||
|
||||
app->closeProject();
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaBaseDefs.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaRegressionTestRunner.h"
|
||||
#include "RiaSummaryTools.h"
|
||||
|
||||
#include "RimEnsembleCurveSetCollection.h"
|
||||
@@ -127,7 +128,8 @@ void RiuPlotMainWindow::initializeGuiNewProjectLoaded()
|
||||
tileSubWindows();
|
||||
}
|
||||
|
||||
if ( m_activePlotViewWindow && m_activePlotViewWindow->viewWidget() )
|
||||
if ( m_activePlotViewWindow && m_activePlotViewWindow->viewWidget() &&
|
||||
!RiaRegressionTestRunner::instance()->isRunningRegressionTests() )
|
||||
{
|
||||
if ( m_activePlotViewWindow->mdiWindowGeometry().isMaximized )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user