mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#5157 Regression Test : Some images get wrong size
This commit is contained in:
1 parent
1193a9c61e
commit
ce94b6ff9e
2 files changed
+5
-3
No files matched your search
@@ -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