mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Fixed Execute Script bug.
When disabling a script auto-import parameter, it would not import itself when executing it from its script parameters menu. Change-Id: If58f6fe1be4792b551ad3b462f1f43e8b82e8148
This commit is contained in:
@@ -130,7 +130,7 @@ void MenuController::loadPythonIfNeeded() {
|
||||
void MenuController::openConsoleWithScriptAtIndex(int scriptIndex) {
|
||||
reloadConsole();
|
||||
if (m_consoleController.loadPythonEnvironment(false)) {
|
||||
m_consoleController.autoImportScriptAtIndex(scriptIndex);
|
||||
m_consoleController.autoImportScriptAtIndex(scriptIndex, true);
|
||||
stackViewController()->push(&m_consoleController);
|
||||
}
|
||||
m_reloadConsoleWhenBecomingFirstResponder = true;
|
||||
|
||||
Reference in New Issue
Block a user