summaryrefslogtreecommitdiff
path: root/Streams.py
diff options
context:
space:
mode:
authorpravindalve2021-01-09 13:20:24 +0530
committerpravindalve2021-01-09 13:20:24 +0530
commitb1e1a178aec956738799f7e67451314bafa253e7 (patch)
tree53977b5f9aa1782938519a2f9243aaf9d1fa9c3b /Streams.py
parent75b00b22345e8d578ceb4dbe7ad208221cbf2640 (diff)
downloadChemical-Simulator-GUI-b1e1a178aec956738799f7e67451314bafa253e7.tar.gz
Chemical-Simulator-GUI-b1e1a178aec956738799f7e67451314bafa253e7.tar.bz2
Chemical-Simulator-GUI-b1e1a178aec956738799f7e67451314bafa253e7.zip
Fixes for updating mode while reopening Dockwidget.py and Material Stream
Diffstat (limited to 'Streams.py')
-rw-r--r--Streams.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Streams.py b/Streams.py
index ed8021d..f5bdabe 100644
--- a/Streams.py
+++ b/Streams.py
@@ -27,8 +27,9 @@ class MaterialStream():
MaterialStream.counter+=1
self.start_dict = {}
self.eqn_dict = {}
- self.modes_list = ["PT","PH","PVF","TVF","PS"]
+ self.modes_list = ["PT", "PH", "PVF", "TVF", "PS"]
self.saved = False
+ self.mode = self.modes_list[0]
self.variables = {
'P' : {'name':'Pressure', 'value':101325, 'unit':'Pa'},