by default the last opened event is loaded on restart
This commit is contained in:
parent
903e87e1e1
commit
35e477c13f
@ -85,7 +85,12 @@ class MainWindow(QMainWindow):
|
|||||||
self.filterOptionsS = FilterOptions(**filterOptionsS)
|
self.filterOptionsS = FilterOptions(**filterOptionsS)
|
||||||
|
|
||||||
# initialize data
|
# initialize data
|
||||||
self.data = Data()
|
if self.recentEvents:
|
||||||
|
lastEvent = self.getLastEvent()
|
||||||
|
self.data = Data(self, lastEvent)
|
||||||
|
else:
|
||||||
|
self.data = Data(self)
|
||||||
|
self.openWaveformData()
|
||||||
self.dirty = False
|
self.dirty = False
|
||||||
self.loadData()
|
self.loadData()
|
||||||
self.updateFilterOptions()
|
self.updateFilterOptions()
|
||||||
|
Loading…
Reference in New Issue
Block a user