[bugfix] tried to filter without active event

This commit is contained in:
Marcel Paffrath 2018-01-12 10:15:30 +01:00
parent 23ed5ceb5c
commit ffa30e92e9
2 changed files with 4 additions and 1 deletions

View File

@ -1849,6 +1849,9 @@ class MainWindow(QMainWindow):
self.plotWaveformDataThread() self.plotWaveformDataThread()
def filterWaveformData(self, plot=True, phase=None): def filterWaveformData(self, plot=True, phase=None):
if not self.get_current_event():
return
if self.get_data(): if self.get_data():
if not phase: if not phase:
if self.filterActionP.isChecked(): if self.filterActionP.isChecked():

View File

@ -1 +1 @@
185c-dirty 23ed-dirty