mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ensure dock windows are completely closed and opened when exporting snapshots through command file interface
This commit is contained in:
parent
373de4935a
commit
c5ed9ccaa6
@ -58,6 +58,7 @@ void RicfExportSnapshots::execute()
|
||||
RiuMainWindow* mainWnd = RiuMainWindow::instance();
|
||||
CVF_ASSERT(mainWnd);
|
||||
mainWnd->hideAllDockWindows();
|
||||
RiaApplication::instance()->processEvents();
|
||||
|
||||
QString absolutePathToSnapshotDir = RicfCommandFileExecutor::instance()->getExportPath(RicfCommandFileExecutor::SNAPSHOTS);
|
||||
if (absolutePathToSnapshotDir.isNull())
|
||||
@ -74,4 +75,5 @@ void RicfExportSnapshots::execute()
|
||||
}
|
||||
|
||||
mainWnd->loadWinGeoAndDockToolBarLayout();
|
||||
RiaApplication::instance()->processEvents();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user