mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Process events to make active view set before executing Octave scripts
p4#: 22404
This commit is contained in:
parent
92408c7ec8
commit
4329d6de0f
@ -355,6 +355,7 @@ bool RiaApplication::loadProject(const QString& projectFileName)
|
||||
// current active view ( see restoreTreeViewState() )
|
||||
// Default behavior for scripts is to use current active view for data read/write
|
||||
onProjectOpenedOrClosed();
|
||||
processEvents();
|
||||
|
||||
// Loop over command objects and execute them
|
||||
for (size_t i = 0; i < m_project->commandObjects.size(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user