Commit 0e3371fb authored by jack-parsons's avatar jack-parsons
Browse files

Adding menu option to reopen object manager

Fixed #45
parent 2ba496ae
Pipeline #880 passed with stage
in 43 seconds
......@@ -323,6 +323,8 @@ class AmpScanGUI(QMainWindow):
triggered=self.register)
self.analyse = QAction(QIcon('open.png'), 'Analyse', self,
triggered=self.analyse)
self.openObjectManager = QAction(QIcon('open.png'), 'Open Object Manager', self,
triggered=self.openAmpObjectManager)
def createMenus(self):
"""
......@@ -344,6 +346,11 @@ class AmpScanGUI(QMainWindow):
self.analyseMenu.addAction(self.analyse)
self.kineticMenu = self.menuBar().addMenu("&Kinetic Measurements")
self.kineticMenu.addAction(self.openPress)
self.viewMenu = self.menuBar().addMenu("&View")
self.viewMenu.addAction(self.openObjectManager)
def openAmpObjectManager(self):
self.fileManager.show()
def objectsReady(self, num):
return len(self.files) >= num
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment