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
...@@ -226,9 +226,10 @@ def start_simulation_dialog( ...@@ -226,9 +226,10 @@ def start_simulation_dialog(
sfg_name : str, optional sfg_name : str, optional
The name of the SFG. The name of the SFG.
""" """
QApplication(sys.argv) app = QApplication(sys.argv)
win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name) win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name)
win.exec_() win.show()
sys.exit(app.exec_())
# Simple test of the dialog # 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