add recent events to file menu

This commit is contained in:
Sebastian Wehling-Benatelli 2015-01-20 13:55:15 +01:00
parent 0bfe2ccc3d
commit ff98371a04

View File

@ -234,9 +234,6 @@ class MainWindow(QMainWindow):
QIcon(":/printer.png"), QIcon(":/printer.png"),
"Print waveform overview.") "Print waveform overview.")
self.fileMenu = self.menuBar().addMenu('&File') self.fileMenu = self.menuBar().addMenu('&File')
self.fileMenuActions = (openEventAction, saveEventAction, None,
prefsEventAction, None,
quitAction)
self.fileMenuActions = (openEventAction, saveEventAction, self.fileMenuActions = (openEventAction, saveEventAction,
prefsEventAction, quitAction) prefsEventAction, quitAction)
self.fileMenu.aboutToShow.connect(self.updateFileMenu) self.fileMenu.aboutToShow.connect(self.updateFileMenu)