[apps/code] Load variable box with script index argument

This commit is contained in:
Léa Saviot
2020-03-19 17:22:37 +01:00
committed by Émilie Feral
parent 321f87ea78
commit b9693f1f26
12 changed files with 36 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ bool ConsoleController::loadPythonEnvironment() {
/* We load functions and variables names in the variable box before running
* any other python code to avoid failling to load functions and variables
* due to memory exhaustion. */
App::app()->variableBoxController()->loadFunctionsAndVariables();
App::app()->variableBoxController()->loadFunctionsAndVariables(-1, nullptr);
return true;
}