diff options
author | pravindalve | 2021-01-09 13:20:24 +0530 |
---|---|---|
committer | pravindalve | 2021-01-09 13:20:24 +0530 |
commit | b1e1a178aec956738799f7e67451314bafa253e7 (patch) | |
tree | 53977b5f9aa1782938519a2f9243aaf9d1fa9c3b /Streams.py | |
parent | 75b00b22345e8d578ceb4dbe7ad208221cbf2640 (diff) | |
download | Chemical-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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'}, |