Skip to content
Snippets Groups Projects
Commit 6cde8c8f authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

dittor for generatePyScript

parent f4c8b1fd
No related branches found
No related tags found
1 merge request!2408rm instrument linking; repair simulation (break endless loop); rename and move things
......@@ -303,7 +303,8 @@ void SimulationView::exportPythonScript()
auto* pythonWidget = new PythonScriptWidget(GUI::Global::mainWindow);
pythonWidget->show();
pythonWidget->raise();
pythonWidget->generatePythonScript(*selectedSampleItem(), *selectedInstrumentItem(),
pythonWidget->generatePythonScript(*gDoc->samples()->currentItem(),
*gDoc->instruments()->currentItem(),
*optionsItem(), ProjectManager::instance()->projectDir());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment