Skip to content
Snippets Groups Projects
Commit 436d47ac authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Enable showing plot results multiple times in same session

parent d94e63cc
No related branches found
No related tags found
1 merge request!270Fixes
This commit is part of merge request !270. Comments created here will be created in the context of that merge request.
......@@ -226,9 +226,10 @@ def start_simulation_dialog(
sfg_name : str, optional
The name of the SFG.
"""
QApplication(sys.argv)
app = QApplication(sys.argv)
win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name)
win.exec_()
win.show()
sys.exit(app.exec_())
# Simple test of the dialog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment