diff options
author | Blaine | 2020-06-14 18:38:38 +0530 |
---|---|---|
committer | Blaine | 2020-06-14 18:38:38 +0530 |
commit | 91eb941de992c53b9fb783c431d0e07c01d90302 (patch) | |
tree | e64f423cc06fd08cb68016dc1cc3e741d342b0b8 | |
parent | 8b8fd8776d594ae6187b4cff72b5faa3fa12ff3c (diff) | |
download | Chemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.tar.gz Chemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.tar.bz2 Chemical-PFD-91eb941de992c53b9fb783c431d0e07c01d90302.zip |
remove edge cases
-rw-r--r-- | src/main/python/utils/streamTable.py | 4 |
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)) |