[revert] changes not working due to Thread

This commit is contained in:
Marcel Paffrath 2018-04-26 16:37:57 +02:00
parent 2554f6ca7e
commit 65f0d23f07

View File

@ -524,9 +524,7 @@ class WaveformWidgetPG(QtGui.QWidget):
method='normal'): method='normal'):
if not wfdata: if not wfdata:
print('Nothing to plot.') print('Nothing to plot.')
self.setVisible(False)
return return
self.setVisible(True)
self.title = title self.title = title
self.clearPlotDict() self.clearPlotDict()
self.wfstart, self.wfend = full_range(wfdata) self.wfstart, self.wfend = full_range(wfdata)