summaryrefslogtreecommitdiff
path: root/DockWidgets/DockWidgetMaterialStream.py
diff options
context:
space:
mode:
authorpravindalve2023-01-27 01:41:16 +0530
committerGitHub2023-01-27 01:41:16 +0530
commite10e1eebbf6927d5548ccb7bbb6563994cee0c35 (patch)
tree17cc1ae47d6151bbaf7d4761370e74909f21fe08 /DockWidgets/DockWidgetMaterialStream.py
parent2bae254bfdb89e554a4f10c35a45011069376ac6 (diff)
parent9a90a5af1f7e57b25675416f7d90b1b62515a5a3 (diff)
downloadChemical-Simulator-GUI-e10e1eebbf6927d5548ccb7bbb6563994cee0c35.tar.gz
Chemical-Simulator-GUI-e10e1eebbf6927d5548ccb7bbb6563994cee0c35.tar.bz2
Chemical-Simulator-GUI-e10e1eebbf6927d5548ccb7bbb6563994cee0c35.zip
Merge pull request #42 from brenda-br/Fix-35
Fix -34, 38, 35, 43, 36
Diffstat (limited to 'DockWidgets/DockWidgetMaterialStream.py')
-rw-r--r--DockWidgets/DockWidgetMaterialStream.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/DockWidgets/DockWidgetMaterialStream.py b/DockWidgets/DockWidgetMaterialStream.py
index 09cddf4..64545be 100644
--- a/DockWidgets/DockWidgetMaterialStream.py
+++ b/DockWidgets/DockWidgetMaterialStream.py
@@ -128,6 +128,7 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog):
indexx = self.comboBox.currentIndex()
self.comboBox.setCurrentIndex(1)
self.comboBox.setCurrentIndex(indexx)
+ self.obj.init_variables()
except Exception as e:
print(e)
@@ -166,6 +167,14 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog):
#print("param ", self.dict)
self.obj.param_setter(self.dict)
+
+ for i in self.container.graphics.graphicsView.items():
+ try:
+ if(i.name == self.name):
+ i.update_tooltip()
+ except:
+ pass
+
self.hide()
except Exception as e: