We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8382323 commit 4514816Copy full SHA for 4514816
src/Interface/Application/SCIRunMainWindow.cc
@@ -1061,6 +1061,7 @@ void SCIRunMainWindow::setupPythonConsole()
1061
void SCIRunMainWindow::runPythonScript(const QString& scriptFileName)
1062
{
1063
#ifdef BUILD_WITH_PYTHON
1064
+ NetworkEditor::InEditingContext iec(networkEditor_);
1065
GuiLogger::Instance().logInfo("RUNNING PYTHON SCRIPT: " + scriptFileName);
1066
PythonInterpreter::Instance().importSCIRunLibrary();
1067
PythonInterpreter::Instance().run_file(scriptFileName.toStdString());
0 commit comments