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.data = Data(evtdata=self.fname)
def getLastEvent(self):
return self.recentEvents[0]
def getWFFnames(self):
try:
evt = self.getData().getEvtData()