summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaine2020-06-14 18:38:38 +0530
committerBlaine2020-06-14 18:38:38 +0530
commit91eb941de992c53b9fb783c431d0e07c01d90302 (patch)
treee64f423cc06fd08cb68016dc1cc3e741d342b0b8
parent8b8fd8776d594ae6187b4cff72b5faa3fa12ff3c (diff)
downloadChemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.tar.gz
Chemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.tar.bz2
Chemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.zip
remove edge cases
-rw-r--r--src/main/python/utils/streamTable.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/python/utils/streamTable.py b/src/main/python/utils/streamTable.py
index c582e98..c9faef7 100644
--- a/src/main/python/utils/streamTable.py
+++ b/src/main/python/utils/streamTable.py
@@ -14,10 +14,6 @@ class streamTable(QTableWidget):
col = self.getCol(point.x())
row = self.getRow(point.y())
menu = QMenu("Context Menu", self)
- if col == 1:
- menu.addAction("Insert Coulumn to Left", lambda x=col-1:self.insertColRight(col))
- if row == 1:
- menu.addAction("Insert Row up", lambda x=row-1:self.insertRowBottom(row))
menu.addAction("Insert Column to right", lambda x=col: self.insertColRight(col))
menu.addAction("Insert Row to bottom", lambda x=point: self.insertRowBottom(row))
menu.exec_(self.mapToGlobal(point)+ QPoint(20, 25))