new method the get the latest event that has been opened see also [7e3bcef]

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-13 11:23:01 +01:00
parent 922cb6a807
commit 2b5e8216ba

View File

@ -279,6 +279,9 @@ class MainWindow(QMainWindow):
self.fname = fname self.fname = fname
self.data = Data(evtdata=self.fname) self.data = Data(evtdata=self.fname)
def getLastEvent(self):
return self.recentEvents[0]
def getWFFnames(self): def getWFFnames(self):
try: try:
evt = self.getData().getEvtData() evt = self.getData().getEvtData()