mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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() )
|
// current active view ( see restoreTreeViewState() )
|
||||||
// Default behavior for scripts is to use current active view for data read/write
|
// Default behavior for scripts is to use current active view for data read/write
|
||||||
onProjectOpenedOrClosed();
|
onProjectOpenedOrClosed();
|
||||||
|
processEvents();
|
||||||
|
|
||||||
// Loop over command objects and execute them
|
// Loop over command objects and execute them
|
||||||
for (size_t i = 0; i < m_project->commandObjects.size(); i++)
|
for (size_t i = 0; i < m_project->commandObjects.size(); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user