summaryrefslogtreecommitdiff
path: root/ComponentSelector.py
diff options
context:
space:
mode:
authorPravin Dalve2021-06-22 00:33:41 +0530
committerPravin Dalve2021-06-22 00:33:41 +0530
commitce501c2d9e437e3988105595d2e9068045a98720 (patch)
tree3c09fc3bebb65db5942cd4f4a5425bde87978428 /ComponentSelector.py
parent3f8095e27df1ea62c4356c08de09cc42ffca00ed (diff)
downloadChemical-Simulator-GUI-ce501c2d9e437e3988105595d2e9068045a98720.tar.gz
Chemical-Simulator-GUI-ce501c2d9e437e3988105595d2e9068045a98720.tar.bz2
Chemical-Simulator-GUI-ce501c2d9e437e3988105595d2e9068045a98720.zip
update compounds method added in all unit operations, material stream and material stream dockwidget
Diffstat (limited to 'ComponentSelector.py')
-rw-r--r--ComponentSelector.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ComponentSelector.py b/ComponentSelector.py
index 79edef4..e8f282c 100644
--- a/ComponentSelector.py
+++ b/ComponentSelector.py
@@ -148,10 +148,9 @@ class ComponentSelector(QDialog,ui_dialog):
def remove_items(self):
try:
- item = self.tableWidget.item(self.tableWidget.currentRow(),1).text()
+ item = self.tableWidget.item(self.tableWidget.currentRow(),1).text() + '(chemsep)'
self.tableWidget.removeRow(self.tableWidget.currentRow())
-
- compound_selected.remove(item)
+ compound_selected.remove(item)
except Exception as e:
print(e)