diff options
author | pravindalve | 2020-06-17 14:00:15 +0530 |
---|---|---|
committer | GitHub | 2020-06-17 14:00:15 +0530 |
commit | 75696d91982d07a33ff77729dc979bf7d8bb1a3f (patch) | |
tree | 0ad06f80d5c7a4dfef68a9cbd5df4f3746c33206 /src/main/python/utils/fileWindow.py | |
parent | 20f1d2b0d14f5ee73cb92a62395c71c838259b67 (diff) | |
parent | 2184341d6cb906e55409513754074ab5fdb27d14 (diff) | |
download | Chemical-PFD-75696d91982d07a33ff77729dc979bf7d8bb1a3f.tar.gz Chemical-PFD-75696d91982d07a33ff77729dc979bf7d8bb1a3f.tar.bz2 Chemical-PFD-75696d91982d07a33ff77729dc979bf7d8bb1a3f.zip |
Merge pull request #19 from Blakeinstein/streamTable
Stream table Feature
Diffstat (limited to 'src/main/python/utils/fileWindow.py')
-rw-r--r-- | src/main/python/utils/fileWindow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/utils/fileWindow.py b/src/main/python/utils/fileWindow.py index 6d35437..e85d513 100644 --- a/src/main/python/utils/fileWindow.py +++ b/src/main/python/utils/fileWindow.py @@ -109,6 +109,8 @@ class fileWindow(QMdiSubWindow): menu.addAction("Remove Side View" if self.sideViewTab == self.tabber.currentWidget() else "View Side-By-Side", self.sideViewMode) menu.addAction("Reset Zoom", lambda : setattr(self.tabber.currentWidget().view, 'zoom', 1)) + if self.tabber.currentWidget().streamTable is None: + menu.addAction("Add Stream Table", lambda x=self, pos=point: x.tabber.currentWidget().addStreamTable(pos)) menu.exec_(self.tabber.mapToGlobal(point)) def sideViewMode(self): |