mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7382 Advanced snapshot export : Issue processEvents before snapshots
This commit is contained in:
parent
a86d0489ac
commit
03305eaaa4
@ -257,6 +257,7 @@ void RicAdvancedSnapshotExportFeature::exportViewVariationsToFolder( RimGridView
|
|||||||
|
|
||||||
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
|
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
|
||||||
|
|
||||||
|
QApplication::processEvents();
|
||||||
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
|
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -293,6 +294,7 @@ void RicAdvancedSnapshotExportFeature::exportViewVariationsToFolder( RimGridView
|
|||||||
|
|
||||||
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
|
QString absoluteFileName = caf::Utils::constructFullFileName( folder, fileName, ".png" );
|
||||||
|
|
||||||
|
QApplication::processEvents();
|
||||||
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
|
RicSnapshotViewToFileFeature::saveSnapshotAs( absoluteFileName, rimView );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user